Skip to content

Commit

Permalink
net, netfilter: Remove redundant goto in ebt_ulog_packet
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesper Juhl authored and Jiri Kosina committed Jul 21, 2011
1 parent 9b42f06 commit f0da7ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/bridge/netfilter/ebt_ulog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f0da7ee

Please sign in to comment.