diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-03-16 19:43:21 -0400 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2015-03-17 10:20:31 -0400 |
commit | 66fdc052d7dba5bb8386f7a1a38107ba8307a59e (patch) | |
tree | 358f1bb25df9203d4533a3f31ee406cd2b0e5686 | |
parent | 2f51bf4be99386f49841b6365a85a5cabc148565 (diff) |
vfio: virqfd_lock can be static
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>
-rw-r--r-- | drivers/vfio/virqfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/virqfd.c b/drivers/vfio/virqfd.c index 5967899645c5..3d19aaf0e6c9 100644 --- a/drivers/vfio/virqfd.c +++ b/drivers/vfio/virqfd.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | 17 | ||
18 | static struct workqueue_struct *vfio_irqfd_cleanup_wq; | 18 | static struct workqueue_struct *vfio_irqfd_cleanup_wq; |
19 | DEFINE_SPINLOCK(virqfd_lock); | 19 | static DEFINE_SPINLOCK(virqfd_lock); |
20 | 20 | ||
21 | int __init vfio_virqfd_init(void) | 21 | int __init vfio_virqfd_init(void) |
22 | { | 22 | { |