summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlwin Beukers <alwin@broadcom.com>2011-10-04 23:19:00 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-05 13:39:03 -0700
commitdd5be5ea7ed42f41cafa1ce7b1e824f46affda0e (patch)
tree1e49aaaf0b55f2eaa7c9ce2d92482c999d9b13d3
parent23ed011ea97d9df57aeb8762dc690496c33b0a8f (diff)
staging: brcm80211: removed empty brcms_c_reset_bmac_done callback function
Empty functions are good candidates for removal. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/brcm80211/brcmsmac/main.c6
-rw-r--r--drivers/staging/brcm80211/brcmsmac/main.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/brcm80211/brcmsmac/main.c b/drivers/staging/brcm80211/brcmsmac/main.c
index 6a0a5d0c746..d75756d8989 100644
--- a/drivers/staging/brcm80211/brcmsmac/main.c
+++ b/drivers/staging/brcm80211/brcmsmac/main.c
@@ -3258,8 +3258,6 @@ static void brcms_b_reset(struct brcms_hardware *wlc_hw)
/* purge the dma rings */
brcms_c_flushqueues(wlc_hw->wlc);
-
- brcms_c_reset_bmac_done(wlc_hw->wlc);
}
void brcms_c_reset(struct brcms_c_info *wlc)
@@ -8868,10 +8866,6 @@ void brcms_c_pllreq(struct brcms_c_info *wlc, bool set, u32 req_bit)
brcms_b_pllreq(wlc->hw, set, req_bit);
}
-void brcms_c_reset_bmac_done(struct brcms_c_info *wlc)
-{
-}
-
/* check for the particular priority flow control bit being set */
bool
brcms_c_txflowcontrol_prio_isset(struct brcms_c_info *wlc,
diff --git a/drivers/staging/brcm80211/brcmsmac/main.h b/drivers/staging/brcm80211/brcmsmac/main.h
index 9e1575c99b9..5a2ec539602 100644
--- a/drivers/staging/brcm80211/brcmsmac/main.h
+++ b/drivers/staging/brcm80211/brcmsmac/main.h
@@ -677,7 +677,6 @@ extern int brcms_c_xmtfifo_sz_get(struct brcms_c_info *wlc, uint fifo,
extern void brcms_c_write_template_ram(struct brcms_c_info *wlc, int offset,
int len, void *buf);
extern void brcms_c_pllreq(struct brcms_c_info *wlc, bool set, u32 req_bit);
-extern void brcms_c_reset_bmac_done(struct brcms_c_info *wlc);
#if defined(BCMDBG)
extern void brcms_c_print_rxh(struct d11rxhdr *rxh);