]> git.itanic.dy.fi Git - linux-stable/commit
vhost: Remove unnecessary variable
authorYunsheng Lin <linyunsheng@huawei.com>
Tue, 20 Aug 2019 12:36:32 +0000 (20:36 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Sep 2019 10:21:17 +0000 (06:21 -0400)
commit896fc242bc1d261c1178838487a0a54b260625cc
treedb71558aa7298dce8e8357146fcf5bb0b43091f3
parent718be6bab26fb01fa0147a2b614a3eefd96a2957
vhost: Remove unnecessary variable

It is unnecessary to use ret variable to return the error
code, just return the error code directly.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c