Просмотр исходного кода

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 <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Jesper Juhl 14 лет назад
Родитель
Сommit
f0da7ee410
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      net/bridge/netfilter/ebt_ulog.c

+ 0 - 1
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;
 }