From: Jean Sacren Date: Sun, 19 Aug 2012 15:11:32 +0000 (+0000) Subject: netfilter: remove unnecessary goto statement for error recovery X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~299^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90efbed18a30d78145419cdbd44f9ec152efeb16;p=pandora-kernel.git netfilter: remove unnecessary goto statement for error recovery Usually it's a good practice to use goto statement for error recovery when initializing the module. This approach could be an overkill if: 1) there is only one fail case; 2) success and failure use the same return statement. For a cleaner approach, remove the unnecessary goto statement and directly implement error recovery. Signed-off-by: Jean Sacren Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed