Skip to content
Commit 896fc242 authored by Yunsheng Lin's avatar Yunsheng Lin Committed by Michael S. Tsirkin
Browse files

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: default avatarYunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 718be6ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment