linux/drivers/net/wireless/brcm80211/brcmsmac
Julia Lawall 20e6f7f043 brcmsmac: make return of 0 explicit
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>
2014-05-19 16:42:15 -04:00
..
phy brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
aiutils.c brcmsmac: use bcma PCIe up and down functions 2013-08-26 14:09:03 -04:00
aiutils.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
ampdu.c brcmsmac: Further reduce log spam from tx phy messages 2013-07-22 16:54:41 -04:00
ampdu.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
antsel.c
antsel.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
brcms_trace_events.c
brcms_trace_events.h
channel.c brcm80211: fix usage of freq_reg_info() 2013-12-05 14:54:49 -05:00
channel.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
d11.h brcmsmac: implement ieee80211_ops get_tsf and set_tsf 2013-03-27 13:37:33 -04:00
debug.c PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
debug.h
dma.c brcmsmac: Fix WARNING caused by lack of calls to dma_mapping_error() 2013-08-15 16:08:09 -04:00
dma.h
led.c
led.h
mac80211_if.c mac80211: add vif to flush call 2014-04-09 10:55:29 +02:00
mac80211_if.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
main.c brcmsmac: make return of 0 explicit 2014-05-19 16:42:15 -04:00
main.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
Makefile brcm80211: simplify makefiles 2013-04-12 15:29:04 -04:00
phy_shim.c
phy_shim.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
pmu.c brcmsmac: remove some pmu functions and use the bcma equivalents 2013-03-27 13:39:09 -04:00
pmu.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
pub.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
rate.c
rate.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
scb.h
stf.c
stf.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00
types.h
ucode_loader.c
ucode_loader.h brcm80211: Remove extern from function prototypes 2013-09-24 17:32:48 -07:00