LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make drivers/net/s2io.c:vlan_strip_flag static
@ 2007-03-05  1:49 Adrian Bunk
  2007-03-06 11:20 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-03-05  1:49 UTC (permalink / raw)
  To: Sivakumar Subramani; +Cc: Jeff Garzik, netdev, linux-kernel

This patch makes the needlessly global vlan_strip_flag static.

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

---
--- linux-2.6.21-rc2-mm1/drivers/net/s2io.c.old	2007-03-04 21:37:59.000000000 +0100
+++ linux-2.6.21-rc2-mm1/drivers/net/s2io.c	2007-03-04 21:38:14.000000000 +0100
@@ -316,7 +316,7 @@
 }
 
 /* A flag indicating whether 'RX_PA_CFG_STRIP_VLAN_TAG' bit is set or not */
-int vlan_strip_flag;
+static int vlan_strip_flag;
 
 /* Unregister the vlan */
 static void s2io_vlan_rx_kill_vid(struct net_device *dev, unsigned long vid)


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

* Re: [2.6 patch] make drivers/net/s2io.c:vlan_strip_flag static
  2007-03-05  1:49 [2.6 patch] make drivers/net/s2io.c:vlan_strip_flag static Adrian Bunk
@ 2007-03-06 11:20 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-03-06 11:20 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Sivakumar Subramani, netdev, linux-kernel

Adrian Bunk wrote:
> This patch makes the needlessly global vlan_strip_flag static.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

applied



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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-05  1:49 [2.6 patch] make drivers/net/s2io.c:vlan_strip_flag static Adrian Bunk
2007-03-06 11:20 ` Jeff Garzik

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).