Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1a22d13 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

tipc: tipc_node_create() can be static



Fixes the following sparse warning:

net/tipc/node.c:336:18: warning:
 symbol 'tipc_node_create' was not declared. Should it be static?

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c76f2481
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -333,7 +333,7 @@ static void tipc_node_write_unlock(struct tipc_node *n)
	}
}

struct tipc_node *tipc_node_create(struct net *net, u32 addr,
static struct tipc_node *tipc_node_create(struct net *net, u32 addr,
					  u8 *peer_id, u16 capabilities)
{
	struct tipc_net *tn = net_generic(net, tipc_net_id);