[PATCH vfio] vfio: virqfd_lock can be static

From: kbuild test robot
Date: Mon Mar 16 2015 - 19:43:48 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
virqfd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/virqfd.c b/drivers/vfio/virqfd.c
index 5967899..3d19aaf 100644
--- a/drivers/vfio/virqfd.c
+++ b/drivers/vfio/virqfd.c
@@ -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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/