Skip to content

Commit da18ab3

Browse files
kbuild test robotdavem330
authored andcommitted
tipc: tipc_disc_addr_trial_msg() can be static
Fixes: 25b0b9c ("tipc: handle collisions of 32-bit node address hash values") Signed-off-by: Fengguang Wu <[email protected]> Acked-by: Jon Maloy [email protected] Signed-off-by: David S. Miller <[email protected]>
1 parent 050e85c commit da18ab3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

net/tipc/discover.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ static void disc_dupl_alert(struct tipc_bearer *b, u32 node_addr,
134134

135135
/* tipc_disc_addr_trial(): - handle an address uniqueness trial from peer
136136
*/
137-
bool tipc_disc_addr_trial_msg(struct tipc_discoverer *d,
138-
struct tipc_media_addr *maddr,
139-
struct tipc_bearer *b,
140-
u32 dst, u32 src,
141-
u32 sugg_addr,
142-
u8 *peer_id,
143-
int mtyp)
137+
static bool tipc_disc_addr_trial_msg(struct tipc_discoverer *d,
138+
struct tipc_media_addr *maddr,
139+
struct tipc_bearer *b,
140+
u32 dst, u32 src,
141+
u32 sugg_addr,
142+
u8 *peer_id,
143+
int mtyp)
144144
{
145145
struct net *net = d->net;
146146
struct tipc_net *tn = tipc_net(net);

0 commit comments

Comments
 (0)