mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
tipc: tipc_disc_addr_trial_msg() can be static
Fixes: 25b0b9c4e8
("tipc: handle collisions of 32-bit node address hash values")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Jon Maloy jon.maloy@ericsson.com
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
050e85c97f
commit
da18ab32d7
@ -134,13 +134,13 @@ static void disc_dupl_alert(struct tipc_bearer *b, u32 node_addr,
|
||||
|
||||
/* tipc_disc_addr_trial(): - handle an address uniqueness trial from peer
|
||||
*/
|
||||
bool tipc_disc_addr_trial_msg(struct tipc_discoverer *d,
|
||||
struct tipc_media_addr *maddr,
|
||||
struct tipc_bearer *b,
|
||||
u32 dst, u32 src,
|
||||
u32 sugg_addr,
|
||||
u8 *peer_id,
|
||||
int mtyp)
|
||||
static bool tipc_disc_addr_trial_msg(struct tipc_discoverer *d,
|
||||
struct tipc_media_addr *maddr,
|
||||
struct tipc_bearer *b,
|
||||
u32 dst, u32 src,
|
||||
u32 sugg_addr,
|
||||
u8 *peer_id,
|
||||
int mtyp)
|
||||
{
|
||||
struct net *net = d->net;
|
||||
struct tipc_net *tn = tipc_net(net);
|
||||
|
Loading…
Reference in New Issue
Block a user