staging: brcm80211: remove d11regs_t parameter from wlc_tbtt function
authorArend van Spriel <arend@broadcom.com>
Thu, 9 Jun 2011 14:44:47 +0000 (16:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 20:02:39 +0000 (13:02 -0700)
The function wlc_tbtt() has variable regs as parameter, but it is
not used. Parameter has been removed from the function.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/bmac.c
drivers/staging/brcm80211/brcmsmac/main.c
drivers/staging/brcm80211/brcmsmac/main.h

index e501e06d6afff60f9130b60476cdcd3a9628e22b..68bf242dc99c57bab248c096682bddeade531d7e 100644 (file)
@@ -327,7 +327,7 @@ bool wlc_dpc(struct wlc_info *wlc, bool bounded)
        }
 
        if (macintstatus & (MI_TBTT | MI_DTIM_TBTT))
-               wlc_tbtt(wlc, regs);
+               wlc_tbtt(wlc);
 
        /* ATIM window end */
        if (macintstatus & MI_ATIMWINEND) {
index 28ae7415170275eea322b485fc24246d17db7b97..32447512287e0571cfbaada16c040dd1811aef77 100644 (file)
@@ -4243,7 +4243,7 @@ wlc_d11hdrs_mac80211(struct wlc_info *wlc, struct ieee80211_hw *hw,
        return 0;
 }
 
-void wlc_tbtt(struct wlc_info *wlc, d11regs_t *regs)
+void wlc_tbtt(struct wlc_info *wlc)
 {
        struct wlc_bsscfg *cfg = wlc->cfg;
 
index 1d28b767c8d67b20b461e4c3c6745ffa14af2884..cc0772e53af3562ca5f86384c570a318c416e24a 100644 (file)
@@ -932,7 +932,7 @@ extern u16 wlc_compute_rtscts_dur(struct wlc_info *wlc, bool cts_only,
                                     u8 frame_preamble_type, uint frame_len,
                                     bool ba);
 
-extern void wlc_tbtt(struct wlc_info *wlc, d11regs_t *regs);
+extern void wlc_tbtt(struct wlc_info *wlc);
 extern void wlc_inval_dma_pkts(struct wlc_hw_info *hw,
                               struct ieee80211_sta *sta,
                               void (*dma_callback_fn));