diff --git a/[refs] b/[refs] index 8999c9c0bd42..f74c3c1c2fe4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 51f9cc1ff8aa0866ff8fb3c06be4c64b5edbb2e8 +refs/heads/master: a7513528cd0deeb62624c229c21054472ec976e6 diff --git a/trunk/net/tipc/port.c b/trunk/net/tipc/port.c index 360920b3d821..899e08eac2ca 100644 --- a/trunk/net/tipc/port.c +++ b/trunk/net/tipc/port.c @@ -1171,8 +1171,6 @@ int tipc_withdraw(u32 ref, unsigned int scope, struct tipc_name_seq const *seq) p_ptr = tipc_port_lock(ref); if (!p_ptr) return -EINVAL; - if (!p_ptr->publ.published) - goto exit; if (!seq) { list_for_each_entry_safe(publ, tpubl, &p_ptr->publications, pport_list) { @@ -1199,7 +1197,6 @@ int tipc_withdraw(u32 ref, unsigned int scope, struct tipc_name_seq const *seq) } if (list_empty(&p_ptr->publications)) p_ptr->publ.published = 0; -exit: tipc_port_unlock(p_ptr); return res; }