forked from Minki/linux
20e6f7f043
Delete unnecessary local variable whose value is always 0 and that hides the fact that the result is always 0. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r exists@ local idexpression ret; expression e; position p; @@ -ret = 0; ... when != ret = e return - ret + 0 ; // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> [arend@broadcom.com: make brcms_b_detach() a void function] Signed-off-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 |