netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static
@ 2005-03-15 14:39 Adrian Bunk
  2005-03-19 20:06 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-03-15 14:39 UTC (permalink / raw)
  To: marcel, maxk; +Cc: bluez-devel, netdev, linux-kernel

This patch makes a needlessly global variable static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.11-mm3-full/net/bluetooth/rfcomm/core.c.old	2005-03-15 13:21:50.000000000 +0100
+++ linux-2.6.11-mm3-full/net/bluetooth/rfcomm/core.c	2005-03-15 13:22:03.000000000 +0100
@@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static
  2005-03-15 14:39 [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static Adrian Bunk
@ 2005-03-19 20:06 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-03-19 20:06 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Max Krasnyansky, bluez-devel, Network Development Mailing List,
	Linux Kernel Mailing List

Hi Adrian,

> This patch makes a needlessly global variable static.

the patch is in my tree now. Thanks.

Regards

Marcel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-19 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 14:39 [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static Adrian Bunk
2005-03-19 20:06 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).