net: Make devnet_rename_seq static
authorThomas Gleixner <tglx@linutronix.de>
Tue, 23 Jul 2013 14:13:17 +0000 (16:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jul 2013 00:57:26 +0000 (17:57 -0700)
No users outside net/core/dev.c.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c

index 2bb2357d83bb50458e107abe5906366d4f76b5e6..3ca60b070ef0647c8d8f5871ba1b7a15825973da 100644 (file)
@@ -1666,9 +1666,6 @@ extern int call_netdevice_notifiers(unsigned long val, struct net_device *dev);
 
 extern rwlock_t                                dev_base_lock;          /* Device list lock */
 
-extern seqcount_t      devnet_rename_seq;      /* Device rename seq */
-
-
 #define for_each_netdev(net, d)                \
                list_for_each_entry(d, &(net)->dev_base_head, dev_list)
 #define for_each_netdev_reverse(net, d)        \
index 26755dd40daa82ff5db7dcb994cabb3d6bf6252f..dfd9f5d56ae0037982cebfff3b2d5f321aaf2ce9 100644 (file)
@@ -174,7 +174,7 @@ static DEFINE_SPINLOCK(napi_hash_lock);
 static unsigned int napi_gen_id;
 static DEFINE_HASHTABLE(napi_hash, 8);
 
-seqcount_t devnet_rename_seq;
+static seqcount_t devnet_rename_seq;
 
 static inline void dev_base_seq_inc(struct net *net)
 {