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>
This commit is contained in:
parent
dcd2ba92e8
commit
3c490a87f6
|
@ -44,7 +44,7 @@ struct phonet_net {
|
||||||
struct phonet_routes routes;
|
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)
|
static struct phonet_net *phonet_pernet(struct net *net)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue