diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2012-04-11 23:39:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-13 14:03:16 -0400 |
commit | 3c490a87f6f6ce5b002c42f9c00c9136ddbd7248 (patch) | |
tree | 2df54d6de88b77ac9ee8cef651157e4d397ad380 /net/phonet/pn_dev.c | |
parent | dcd2ba92e842eec0d0372415fa26f1c411f5530d (diff) |
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/pn_dev.c')
-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 { | |||
44 | struct phonet_routes routes; | 44 | struct phonet_routes routes; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | int phonet_net_id __read_mostly; | 47 | static int phonet_net_id __read_mostly; |
48 | 48 | ||
49 | static struct phonet_net *phonet_pernet(struct net *net) | 49 | static struct phonet_net *phonet_pernet(struct net *net) |
50 | { | 50 | { |