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: NYunsheng Lin <linyunsheng@huawei.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录