Skip to content

Commit

Permalink
staging: brcm80211: remove d11regs_t parameter from wlc_tbtt function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 206c5a4 commit 44c069e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmsmac/bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmsmac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/brcmsmac/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 44c069e

Please sign in to comment.