]> err.no Git - linux-2.6/commitdiff
make drivers/net/s2io.c:vlan_strip_flag static
authorAdrian Bunk <bunk@stusta.de>
Mon, 5 Mar 2007 01:49:25 +0000 (02:49 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:00:56 +0000 (11:00 -0400)
This patch makes the needlessly global vlan_strip_flag static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io.c

index 600d3ff347fc83229cf7cbbb49fe4aa8e3810491..7309a178b1ac6d7fa412b0daaa94b5da7058fc8d 100644 (file)
@@ -316,7 +316,7 @@ static void s2io_vlan_rx_register(struct net_device *dev,
 }
 
 /* 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)