vfio: virqfd_lock can be static
authorkbuild test robot <fengguang.wu@intel.com>
Mon, 16 Mar 2015 23:43:21 +0000 (07:43 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 17 Mar 2015 14:20:31 +0000 (08:20 -0600)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/virqfd.c

index 5967899645c5c2e13946774bec063a30b2dab10a..3d19aaf0e6c90447bb3b7500ab614dc4466fb188 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/slab.h>
 
 static struct workqueue_struct *vfio_irqfd_cleanup_wq;
-DEFINE_SPINLOCK(virqfd_lock);
+static DEFINE_SPINLOCK(virqfd_lock);
 
 int __init vfio_virqfd_init(void)
 {