]> 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)
commit650056e6db488270131f2c6dd16435cedb593862
treedb71558aa7298dce8e8357146fcf5bb0b43091f3
parente859d22b862de135760cc17e6315867a24513ad9
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