Skip to content
Commit e373f3d7 authored by Jason Yan's avatar Jason Yan Committed by Michael S. Tsirkin
Browse files

vhost: remove set but not used variable 'status'



Fix the following gcc warning:
drivers/vhost/vdpa.c:299:5: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  u8 status;
     ^~~~~~

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200402065106.20108-1-yanaijie@huawei.com


Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent aa21c2e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment