diff options
author | 2014-11-20 16:42:51 +0100 | |
---|---|---|
committer | 2014-11-20 16:14:39 -0500 | |
commit | ac96ce83ff21c9338afa0e81baabd902d9350015 (patch) | |
tree | 3d1dfd055a60893235c2611be8be8aa0e620dca9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'mac80211-next-for-john-2014-11-20' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next (diff) | |
download | linux-dev-ac96ce83ff21c9338afa0e81baabd902d9350015.tar.xz linux-dev-ac96ce83ff21c9338afa0e81baabd902d9350015.zip |
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 <elfring@users.sourceforge.net>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions