From: Jesper Juhl Date: Sun, 17 Jul 2011 17:56:38 +0000 (+0200) Subject: net, netfilter: Remove redundant goto in ebt_ulog_packet X-Git-Tag: v3.1-rc1~245^2~3 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f0da7ee410e63a1521af734c3970acc1470e8c50;p=linux.git net, netfilter: Remove redundant goto in ebt_ulog_packet In net/bridge/netfilter/ebt_ulog.c:ebt_ulog_packet() the 'goto unlock' before the 'alloc_failure' label is completely redundant. This patch removes it. Signed-off-by: Jesper Juhl Signed-off-by: Jiri Kosina --- diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c index 26377e96fa1c..bf2a333ca7c7 100644 --- a/net/bridge/netfilter/ebt_ulog.c +++ b/net/bridge/netfilter/ebt_ulog.c @@ -216,7 +216,6 @@ static void ebt_ulog_packet(unsigned int hooknr, const struct sk_buff *skb, nlmsg_failure: pr_debug("error during NLMSG_PUT. This should " "not happen, please report to author.\n"); - goto unlock; alloc_failure: goto unlock; }