brcm80211: Delete unnecessary checks before two function calls
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 4 Feb 2015 19:28:49 +0000 (20:28 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 6 Feb 2015 06:52:50 +0000 (08:52 +0200)
commit297540f69fa9c7292c9866e71cb22a7bc4c5003b
tree39f7dcb30f05d95b5273f5ce23833e8564ef9761
parent6f24fe305986afcb9eb2bde1031798b3b2ebf649
brcm80211: Delete unnecessary checks before two function calls

The functions brcmu_pkt_buf_free_skb() and usb_free_urb() test whether
their argument is NULL and then return immediately. Thus the test around
the call is not needed.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/sdio.c
drivers/net/wireless/brcm80211/brcmfmac/usb.c