]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a24c9c9a6659b24f0d1fbfb05bfe26e76f20b6d
treef09786a5d0d3b32f4aff99ec9c94058efae59412
parent1575d4ae440279c40e49d4a8eb68089e606959eb
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