projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd2ba9
)
Phonet: phonet_net_id can be static (sparse)
author
Rémi Denis-Courmont
<remi.denis-courmont@nokia.com>
Thu, 12 Apr 2012 03:39:16 +0000
(
03:39
+0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/phonet/pn_dev.c
b/net/phonet/pn_dev.c
index bf5cf69c820a285be318ecb3dab044530f2c8bc2..da564efe4f5bbb67ef10a821d049add0ae9ddaa7 100644
(file)
--- 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)
{