netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] make net/core/dev.c:netdev_nit static
@ 2006-06-25 23:13 Adrian Bunk
  2006-06-26  6:58 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-06-25 23:13 UTC (permalink / raw)
  To: Herbert Xu; +Cc: netdev, linux-kernel

netdev_nit can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 include/linux/netdevice.h |    1 -
 net/core/dev.c            |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.17-mm2-full/include/linux/netdevice.h.old	2006-06-25 23:30:55.000000000 +0200
+++ linux-2.6.17-mm2-full/include/linux/netdevice.h	2006-06-25 23:31:02.000000000 +0200
@@ -699,7 +699,6 @@
 
 extern void		dev_init(void);
 
-extern int		netdev_nit;
 extern int		netdev_budget;
 
 /* Called by rtnetlink.c:rtnl_unlock() */
--- linux-2.6.17-mm2-full/net/core/dev.c.old	2006-06-25 23:31:08.000000000 +0200
+++ linux-2.6.17-mm2-full/net/core/dev.c	2006-06-25 23:31:19.000000000 +0200
@@ -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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-26  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-25 23:13 [2.6 patch] make net/core/dev.c:netdev_nit static Adrian Bunk
2006-06-26  6:58 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).