Skip to contentSkip to conversation

make net/core/dev.c:netdev_nit static

PATCH Applied Adrian Bunk 2 participants 2 messages Jun 25, 2006 – Jun 26, 2006

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

PATCH 1/1 make net/core/dev.c:netdev_nit static

netdev_nit can now become static.

---

 include/linux/netdevice.h |    1 -
 net/core/dev.c            |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
include/linux/netdevice.h renamed from include/linux/netdevice.h.old +0 -1
@@ -699,7 +699,6 @@
 
 extern void		dev_init(void);
 
-extern int		netdev_nit;
 extern int		netdev_budget;
 
 /* Called by rtnetlink.c:rtnl_unlock() */
net/core/dev.c renamed from net/core/dev.c.old +1 -1
@@ -230,7 +230,7 @@
  *	For efficiency
  */
 
-int netdev_nit;
+static int netdev_nit;
 
 /*
  *	Add a protocol ID to the list. Now that the input handler is