aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-25 23:58:10 -0700
committerDavid S. Miller <davem@davemloft.net>2006-06-25 23:58:10 -0700
commit6048126440dcb3ba01316f961465c0ff5a255dd1 (patch)
treeb8a58f213f510d47ca6b2e122e026a7b4339793e
parentf54d9e8d7f7dd60f26157c12acda3fc94fcd9ab7 (diff)
[NET]: make net/core/dev.c:netdev_nit static
netdev_nit can now become static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/netdevice.h1
-rw-r--r--net/core/dev.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index bc747e5d713..03cd7551a7a 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -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() */
diff --git a/net/core/dev.c b/net/core/dev.c
index aa845490171..f1c52cbd6ef 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -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