OpenCloudOS-Kernel/samples/vfio-mdev
YueHaibing b46c820f8f sample/mdev/mbochs: remove set but not used variable 'mdev_state'
Fixes gcc '-Wunused-but-set-variable' warning:

samples/vfio-mdev/mbochs.c: In function mbochs_ioctl:
samples/vfio-mdev/mbochs.c:1188:21: warning: variable mdev_state set but not used [-Wunused-but-set-variable]

It's not used any more since commit 104c7405a6 ("vfio:
add edid support to mbochs sample driver")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2019-07-02 11:44:15 -06:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mbochs.c sample/mdev/mbochs: remove set but not used variable 'mdev_state' 2019-07-02 11:44:15 -06:00
mdpy-defs.h sample: vfio mdev display - host device 2018-06-08 10:24:09 -06:00
mdpy-fb.c sample: vfio mdev display - guest driver 2018-06-08 10:24:13 -06:00
mdpy.c samples/vfio-mdev/mdpy: expand minor range when registering chrdev region 2019-02-12 13:21:14 -07:00
mtty.c vfio-mdev/samples: make some symbols static 2019-07-02 11:38:08 -06:00