tipc: make some functions static
Fixes the following sparse warnings: net/tipc/link.c:376:5: warning: symbol 'link_bc_rcv_gap' was not declared. Should it be static? net/tipc/link.c:823:6: warning: symbol 'link_prepare_wakeup' was not declared. Should it be static? net/tipc/link.c:959:6: warning: symbol 'tipc_link_advance_backlog' was not declared. Should it be static? net/tipc/link.c:1009:5: warning: symbol 'tipc_link_retrans' was not declared. Should it be static? net/tipc/monitor.c:687:5: warning: symbol '__tipc_nl_add_monitor_peer' was not declared. Should it be static? net/tipc/group.c:230:20: warning: symbol 'tipc_group_find_member' was not declared. Should it be static? Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
baa2d2b17e
commit
e064cce130
@@ -227,8 +227,8 @@ void tipc_group_delete(struct net *net, struct tipc_group *grp)
|
||||
kfree(grp);
|
||||
}
|
||||
|
||||
struct tipc_member *tipc_group_find_member(struct tipc_group *grp,
|
||||
u32 node, u32 port)
|
||||
static struct tipc_member *tipc_group_find_member(struct tipc_group *grp,
|
||||
u32 node, u32 port)
|
||||
{
|
||||
struct rb_node *n = grp->members.rb_node;
|
||||
u64 nkey, key = (u64)node << 32 | port;
|
||||
|
Reference in New Issue
Block a user