]> git.openpandora.org Git - pandora-kernel.git/commitdiff
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)
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>

No differences found