diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2012-04-12 05:39:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-13 20:03:16 +0200 |
commit | 3c490a87f6f6ce5b002c42f9c00c9136ddbd7248 (patch) | |
tree | 2df54d6de88b77ac9ee8cef651157e4d397ad380 /net/phonet | |
parent | neighbour: Make neigh_table_init_no_netlink() static. (diff) | |
download | linux-3c490a87f6f6ce5b002c42f9c00c9136ddbd7248.tar.xz linux-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) { |