netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: netdev@vger.kernel.org
Cc: Eric Dumazet <edumazet@google.com>
Subject: [PATCH] net: Make devnet_rename_seq static
Date: Tue, 23 Jul 2013 16:13:17 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1307231612300.4089@ionos.tec.linutronix.de> (raw)
In-Reply-To: <alpine.DEB.2.02.1307231559570.4089@ionos.tec.linutronix.de>

No users outside net/core/dev.c.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 include/linux/netdevice.h |    3 ---
 net/core/dev.c            |    2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

Index: linux-stable/include/linux/netdevice.h
===================================================================
--- linux-stable.orig/include/linux/netdevice.h
+++ linux-stable/include/linux/netdevice.h
@@ -1601,9 +1601,6 @@ extern int call_netdevice_notifiers(unsi
 
 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: linux-stable/net/core/dev.c
===================================================================
--- linux-stable.orig/net/core/dev.c
+++ linux-stable/net/core/dev.c
@@ -166,7 +166,7 @@ static struct list_head offload_base __r
 DEFINE_RWLOCK(dev_base_lock);
 EXPORT_SYMBOL(dev_base_lock);
 
-seqcount_t devnet_rename_seq;
+static seqcount_t devnet_rename_seq;
 
 static inline void dev_base_seq_inc(struct net *net)
 {

  parent reply	other threads:[~2013-07-23 14:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 14:05 [PATCH] net: Make devnet_rename_seq static Thomas Gleixner
2013-07-23 14:12 ` Eric Dumazet
2013-07-23 14:13 ` Thomas Gleixner [this message]
2013-07-23 14:17   ` Eric Dumazet
2013-07-25  0:57     ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1307231612300.4089@ionos.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=edumazet@google.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).