aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJon Maloy <[email protected]>2021-03-17 02:06:13 +0000
committerDavid S. Miller <[email protected]>2021-03-17 18:51:04 +0000
commit2c98da0790634d0ec08ff7856769ffb56ca7c469 (patch)
tree825cda694feaa2d7093918a19725eedb09447686 /net/tipc/node.c
parenttipc: simplify call signatures for publication creation (diff)
downloadkernel-2c98da0790634d0ec08ff7856769ffb56ca7c469.tar.gz
kernel-2c98da0790634d0ec08ff7856769ffb56ca7c469.zip
tipc: simplify signature of tipc_nametbl_withdraw() functions
Following the principles of the preceding commits, we reduce the number of parameters passed along in tipc_sk_withdraw(), tipc_nametbl_withdraw() and associated functions. Signed-off-by: Jon Maloy <[email protected]> Acked-by: Ying Xue <[email protected]> Acked-by: Hoang Le <[email protected]> Acked-by: Tung Nguyen <[email protected]> Acked-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r--net/tipc/node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c
index e24cdc13335d..0daf3be11ed1 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -434,8 +434,7 @@ static void tipc_node_write_unlock(struct tipc_node *n)
}
if (flags & TIPC_NOTIFY_LINK_DOWN) {
tipc_mon_peer_down(net, n->addr, bearer_id);
- tipc_nametbl_withdraw(net, TIPC_LINK_STATE, n->addr,
- n->addr, n->link_id);
+ tipc_nametbl_withdraw(net, &ua, &sk, n->link_id);
}
}