summaryrefslogtreecommitdiff
path: root/net/tipc/name_distr.c
diff options
context:
space:
mode:
authorJon Maloy <jmaloy@redhat.com>2021-03-17 05:06:23 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-17 21:51:05 +0300
commit5c8349503d007f9fa46e90b58f48b60830d6e47d (patch)
treece7a94e87778520503acecaece32af45d5ffd239 /net/tipc/name_distr.c
parent429189acac534378cee113b16fe3f18effac1697 (diff)
downloadlinux-5c8349503d007f9fa46e90b58f48b60830d6e47d.tar.xz
tipc: remove some unnecessary warnings
We move some warning printouts to more strategic locations to avoid duplicates and yield more detailed information about the reported problem. Signed-off-by: Jon Maloy <jmaloy@redhat.com> Acked-by: Ying Xue <ying.xue@windriver.com> Acked-by: Hoang Le <hoang.h.le@dektech.com.au> Acked-by: Tung Nguyen <tung.q.nguyen@dektech.com.au> Acked-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/name_distr.c')
-rw-r--r--net/tipc/name_distr.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c
index 9e2fab3569b5..bda902caa814 100644
--- a/net/tipc/name_distr.c
+++ b/net/tipc/name_distr.c
@@ -253,13 +253,6 @@ static void tipc_publ_purge(struct net *net, struct publication *p, u32 addr)
if (_p)
tipc_node_unsubscribe(net, &_p->binding_node, addr);
spin_unlock_bh(&tn->nametbl_lock);
-
- if (_p != p) {
- pr_err("Unable to remove publication from failed node\n"
- " (type=%u, lower=%u, node=%u, port=%u, key=%u)\n",
- p->sr.type, p->sr.lower, p->sk.node, p->sk.ref, p->key);
- }
-
if (_p)
kfree_rcu(_p, rcu);
}