lkml.org 
[lkml]   [2015]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH vfio] vfio: virqfd_lock can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
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)
{

\
 
 \ /
  Last update: 2015-03-17 01:01    [W:0.075 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site