]> git.baikalelectronics.ru Git - kernel.git/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)
commitb6d1c5fb98b145a17f76b4c1f842051f29290efc
treedb71558aa7298dce8e8357146fcf5bb0b43091f3
parenta01de3b190fd61c3298819d9d6dc93fa41643b4c
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