Phonet: phonet_net_id can be static (sparse)
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Thu, 12 Apr 2012 03:39:16 +0000 (03:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 18:03:16 +0000 (14:03 -0400)
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/pn_dev.c

index bf5cf69c820a285be318ecb3dab044530f2c8bc2..da564efe4f5bbb67ef10a821d049add0ae9ddaa7 100644 (file)
@@ -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)
 {