vhost: remove set but not used variable 'status'
authorJason Yan <yanaijie@huawei.com>
Thu, 2 Apr 2020 06:51:06 +0000 (14:51 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 16 Apr 2020 22:31:03 +0000 (18:31 -0400)
commite373f3d78d83549ea5c9bee5c4af9dac7bad7c37
treef09786a5d0d3b32f4aff99ec9c94058efae59412
parentaa21c2e73eaed43a9c8389cd9784e337ae6f3989
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: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200402065106.20108-1-yanaijie@huawei.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vdpa.c