Skip to contentSkip to conversation

net/bluetooth/rfcomm/core.: make a variable static

PATCH In review Adrian Bunk 2 participants 2 messages Mar 15, 2005 – Mar 19, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/bluetooth/rfcomm/core.: make a variable static

This patch makes a needlessly global variable static.

net/bluetooth/rfcomm/core.c renamed from net/bluetooth/rfcomm/core.c.old +1 -1
@@ -68,7 +68,7 @@
 #define rfcomm_lock()	down(&rfcomm_sem);
 #define rfcomm_unlock()	up(&rfcomm_sem);
 
-unsigned long rfcomm_event;
+static unsigned long rfcomm_event;
 
 static LIST_HEAD(session_list);
 static atomic_t terminate, running;
maintainer
#1 lore raw

Hi Adrian,

Quoted 1 line

This patch makes a needlessly global variable static.

the patch is in my tree now. Thanks.

Regards

Marcel