net/bluetooth/rfcomm/core.: make a variable static
Subsystems (3)
PATCH 1/1 net/bluetooth/rfcomm/core.: make a variable static
This patch makes a needlessly global variable static.
Signed-off-by Adrian Bunk <[email protected]>
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;
Marcel Holtmann
maintainerHi Adrian,
Quoted 1 line
This patch makes a needlessly global variable static.
the patch is in my tree now. Thanks.
Regards
Marcel