diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-08-20 20:36:32 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-09-04 06:21:17 -0400 |
commit | 896fc242bc1d261c1178838487a0a54b260625cc (patch) | |
tree | db71558aa7298dce8e8357146fcf5bb0b43091f3 /drivers/vhost/vhost.h | |
parent | 718be6bab26fb01fa0147a2b614a3eefd96a2957 (diff) | |
download | linux-896fc242bc1d261c1178838487a0a54b260625cc.tar.bz2 |
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>
Diffstat (limited to 'drivers/vhost/vhost.h')
0 files changed, 0 insertions, 0 deletions