[NET]: make net/core/dev.c:netdev_nit static
authorAdrian Bunk <bunk@stusta.de>
Mon, 26 Jun 2006 06:58:10 +0000 (23:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jun 2006 06:58:10 +0000 (23:58 -0700)
netdev_nit can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c

index bc747e5d71389ed632d47feab10892b389a6e8e0..03cd7551a7a100b2ba0079f40b26e957e531b5cf 100644 (file)
@@ -699,7 +699,6 @@ extern int          dev_hard_start_xmit(struct sk_buff *skb,
 
 extern void            dev_init(void);
 
-extern int             netdev_nit;
 extern int             netdev_budget;
 
 /* Called by rtnetlink.c:rtnl_unlock() */
index aa84549017198330ed03c891ac9cc279632128c8..f1c52cbd6ef7bfa8ae13ff04913b585b0c9be286 100644 (file)
@@ -230,7 +230,7 @@ extern void netdev_unregister_sysfs(struct net_device *);
  *     For efficiency
  */
 
-int netdev_nit;
+static int netdev_nit;
 
 /*
  *     Add a protocol ID to the list. Now that the input handler is
This page took 0.029118 seconds and 5 git commands to generate.