wifi: brcm80211: Remove unused dma_txflush
PATCH 1/1 wifi: brcm80211: Remove unused dma_txflush
From: "Dr. David Alan Gilbert" <[email protected]>
dma_fxflush() has been unused since 2013's
commit 7b2385b95363 ("brcmsmac: rework of mac80211 .flush() callback operation")
Remove it.
--- drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c | 9 --------- drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.h | 1 - 2 files changed, 10 deletions(-)
drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c +0 -9
@@ -1426,15 +1426,6 @@ int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub,return -ENOSPC ; } -void dma_txflush (struct dma_pub *pub) -{ - struct dma_info *di = container_of(pub, struct dma_info, dma); -struct brcms_ampdu_session *session = &di->ampdu_session; - -if (!skb_queue_empty (&session->skb_list)) -ampdu_finalize (di); -} -int dma_txpending (struct dma_pub *pub) { struct dma_info *di = container_of(pub, struct dma_info, dma);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.h +0 -1
@@ -88,7 +88,6 @@ bool dma_txreset(struct dma_pub *pub);void dma_txinit (struct dma_pub *pub);int dma_txfast (struct brcms_c_info *wlc,struct dma_pub *pub,struct sk_buff *p0); -void dma_txflush (struct dma_pub *pub);int dma_txpending (struct dma_pub *pub);void dma_kick_tx (struct dma_pub *pub);void dma_txsuspend (struct dma_pub *pub);
Signature · 1 line
2.47.0
Quoted 7 lines · On 10/25/2024 10:46 PM, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
dma_fxflush()has been unused since 2013's
commit7b2385b95363("brcmsmac: rework of mac80211 .flush() callback operation")Remove it.
Thanks!
Quoted 5 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c | 9 --------- drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.h | 1 - 2 files changed, 10 deletions(-)
Re: wifi: brcm80211: Remove unused dma_txflush()
In reply to [email protected]Quoted 10 lines · [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
dma_fxflush()has been unused since 2013's
commit7b2385b95363("brcmsmac: rework of mac80211 .flush() callback operation")Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>Acked-by Arend van Spriel <[email protected]>
Patch applied to wireless-next.git, thanks.
1e52d0061a83 wifi: brcm80211: Remove unused dma_txflush()
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches