diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2012-04-12 03:39:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-13 14:03:16 -0400 |
commit | 3c490a87f6f6ce5b002c42f9c00c9136ddbd7248 (patch) | |
tree | 2df54d6de88b77ac9ee8cef651157e4d397ad380 /net/phonet | |
parent | dcd2ba92e842eec0d0372415fa26f1c411f5530d (diff) | |
download | linux-stable-3c490a87f6f6ce5b002c42f9c00c9136ddbd7248.tar.gz linux-stable-3c490a87f6f6ce5b002c42f9c00c9136ddbd7248.tar.bz2 linux-stable-3c490a87f6f6ce5b002c42f9c00c9136ddbd7248.zip |
Phonet: phonet_net_id can be static (sparse)
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/phonet')
-rw-r--r-- | net/phonet/pn_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/phonet/pn_dev.c b/net/phonet/pn_dev.c index bf5cf69c820a..da564efe4f5b 100644 --- a/net/phonet/pn_dev.c +++ b/net/phonet/pn_dev.c @@ -44,7 +44,7 @@ struct phonet_net { struct phonet_routes routes; }; -int phonet_net_id __read_mostly; +static int phonet_net_id __read_mostly; static struct phonet_net *phonet_pernet(struct net *net) { |