From: Markus Elfring Date: Tue, 18 Nov 2014 19:37:05 +0000 (+0100) Subject: netfilter: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~122^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=982f405136a44754e884184d24b70d2d4cefcb7a;p=pandora-kernel.git netfilter: Deletion of unnecessary checks before two function calls The functions free_percpu() and module_put() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Acked-by: Julian Anastasov Acked-by: Simon Horman Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed