[2.6 patch] make net/core/dev.c:netdev_nit static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

--- 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux