Skip to contentSkip to conversation

b43legacy: Remove unused inline function txring_to_priority()

PATCH In review YueHaibing 2 participants 3 messages May 29, 2021 – Jun 3, 2021

Subsystems (3)
lore
Share & tools
lore

YueHaibing

author
#0 lore raw

PATCH 1/1 b43legacy: Remove unused inline function txring_to_priority()

commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code") left behind this.

---
 drivers/net/wireless/broadcom/b43legacy/dma.c | 13 -------------
 1 file changed, 13 deletions(-)
drivers/net/wireless/broadcom/b43legacy/dma.c +0 -13
index 7e2f70c4207c..6869f2bf1bae 100644
@@ -213,19 +213,6 @@ return dev->dma.tx_ring1;
 	return ring;
 }
 
-/* Bcm4301-ring to mac80211-queue mapping */
-static inline int txring_to_priority(struct b43legacy_dmaring *ring)
-{
-	static const u8 idx_to_prio[] =
-		{ 3, 2, 1, 0, 4, 5, };
-
-/*FIXME: have only one queue, for now */
-return 0;
-
-	return idx_to_prio[ring->index];
-}
-
-
 static u16 b43legacy_dmacontroller_base(enum b43legacy_dmatype type,
 					int controller_idx)
 {
Signature · 1 line
2.17.1
#1 lore raw
Quoted 4 lines · YueHaibing

commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code") left behind this.

Patch applied to wireless-drivers-next.git, thanks.

d1dbaa54191e b43legacy: Remove unused inline function txring_to_priority()

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
#2 lore raw
In reply to YueHaibing
Quoted 4 lines · YueHaibing

commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code") left behind this.

Patch applied to wireless-drivers-next.git, thanks.

d1dbaa54191e b43legacy: Remove unused inline function txring_to_priority()

Signature · 9 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
b43-dev mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/b43-dev