vfio: fix build with Linux < 4.0
authorThomas Monjalon <thomas@monjalon.net>
Sun, 18 Nov 2018 21:14:26 +0000 (22:14 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 18 Nov 2018 21:31:30 +0000 (22:31 +0100)
commitb91bc6f35793c863ce15e907ad6144ada8f7f46b
tree7778c14e08e1b6e303879b248be710c791739bef
parentcc1bf3077d750cea01a9432ea42d41a45f5a2c98
vfio: fix build with Linux < 4.0

drivers/bus/pci/linux/pci_vfio.c:45:23: error:
‘failure_handle_lock’ defined but not used

Fixes: 8ffe73865124 ("vfio: add lock for hot-unplug failure handler")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
drivers/bus/pci/linux/pci_vfio.c