make net/core/dev.c:netdev_nit static
Subsystems (2)
PATCH 1/1 make net/core/dev.c:netdev_nit static
netdev_nit can now become static.
Signed-off-by Adrian Bunk <[email protected]>
---
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
From: Adrian Bunk <[email protected]>
Date: Mon, 26 Jun 2006 01:13:27 +0200
Quoted 3 lines
netdev_nitcan now become static.Signed-off-by Adrian Bunk <[email protected]>
Applied, thanks Adrian.