From: Markus Elfring Date: Thu, 20 Nov 2014 15:42:51 +0000 (+0100) Subject: net: brcm80211: Deletion of unnecessary checks before two function calls X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~134^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac96ce83ff21c9338afa0e81baabd902d9350015;p=pandora-kernel.git net: brcm80211: Deletion of unnecessary checks before two function calls The functions brcmu_pkt_buf_free_skb() and release_firmware() 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: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed