Skip to contentSkip to conversation

make drivers/net/s2io.c:vlan_strip_flag static

PATCH Applied Adrian Bunk 2 participants 2 messages Mar 5, 2007 – Mar 6, 2007

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

PATCH 1/1 make drivers/net/s2io.c:vlan_strip_flag static

This patch makes the needlessly global vlan_strip_flag static.

---

drivers/net/s2io.c renamed from drivers/net/s2io.c.old +1 -1
@@ -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)