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> |
||
|---|---|---|
| .. | ||
| phy | ||
| aiutils.c | ||
| aiutils.h | ||
| ampdu.c | ||
| ampdu.h | ||
| antsel.c | ||
| antsel.h | ||
| brcms_trace_events.c | ||
| brcms_trace_events.h | ||
| channel.c | ||
| channel.h | ||
| d11.h | ||
| debug.c | ||
| debug.h | ||
| dma.c | ||
| dma.h | ||
| led.c | ||
| led.h | ||
| mac80211_if.c | ||
| mac80211_if.h | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| phy_shim.c | ||
| phy_shim.h | ||
| pmu.c | ||
| pmu.h | ||
| pub.h | ||
| rate.c | ||
| rate.h | ||
| scb.h | ||
| stf.c | ||
| stf.h | ||
| types.h | ||
| ucode_loader.c | ||
| ucode_loader.h | ||