Skip to content

Commit

Permalink
[NET]: make net/core/dev.c:netdev_nit static
Browse files Browse the repository at this point in the history
netdev_nit can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jun 26, 2006
1 parent f54d9e8 commit 6048126
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() */
Expand Down
2 changes: 1 addition & 1 deletion net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6048126

Please sign in to comment.