From b8a5d1ecdcba4e76319a86db41e6e835f5f5ef4b Mon Sep 17 00:00:00 2001 From: Allan Stephens Date: Sun, 25 Jun 2006 23:49:33 -0700 Subject: [PATCH] --- yaml --- r: 30412 b: refs/heads/master c: a7513528cd0deeb62624c229c21054472ec976e6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/tipc/port.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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; }