[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>
This commit is contained in:
committed by
David S. Miller
parent
f54d9e8d7f
commit
6048126440
@@ -699,7 +699,6 @@ extern int dev_hard_start_xmit(struct sk_buff *skb,
|
|||||||
|
|
||||||
extern void dev_init(void);
|
extern void dev_init(void);
|
||||||
|
|
||||||
extern int netdev_nit;
|
|
||||||
extern int netdev_budget;
|
extern int netdev_budget;
|
||||||
|
|
||||||
/* Called by rtnetlink.c:rtnl_unlock() */
|
/* Called by rtnetlink.c:rtnl_unlock() */
|
||||||
|
@@ -230,7 +230,7 @@ extern void netdev_unregister_sysfs(struct net_device *);
|
|||||||
* For efficiency
|
* For efficiency
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int netdev_nit;
|
static int netdev_nit;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add a protocol ID to the list. Now that the input handler is
|
* Add a protocol ID to the list. Now that the input handler is
|
||||||
|
Reference in New Issue
Block a user