]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa: remove unused variables 'ifcvf' and 'ifcvf_lm'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 2 Apr 2020 02:46:26 +0000 (10:46 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 16 Apr 2020 22:31:04 +0000 (18:31 -0400)
commit083d6e74114de1e91956c6d405235dbc49b7d3eb
tree1ab91d41427ef54f363de59b9545a0d1480a5eb0
parent6eea821e045ce50ab8aebc8d6d975d5a6bf3acaa
vdpa: remove unused variables 'ifcvf' and 'ifcvf_lm'

drivers/vdpa/ifcvf/ifcvf_main.c:34:24:
 warning: variable ‘ifcvf’ set but not used [-Wunused-but-set-variable]
drivers/vdpa/ifcvf/ifcvf_base.c:304:31:
 warning: variable ‘ifcvf_lm’ set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200402024626.32944-1-yuehaibing@huawei.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_base.c
drivers/vdpa/ifcvf/ifcvf_main.c