提交 44c069ec 编写于 作者: A Arend van Spriel 提交者: Greg Kroah-Hartman

staging: brcm80211: remove d11regs_t parameter from wlc_tbtt function

The function wlc_tbtt() has variable regs as parameter, but it is
not used. Parameter has been removed from the function.
Signed-off-by: NArend van Spriel <arend@broadcom.com>
Reviewed-by: NRoland Vossen <rvossen@broadcom.com>
Reviewed-by: NFranky Lin <frankyl@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 206c5a43
......@@ -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) {
......
......@@ -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;
......
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册