diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-29 19:51:31 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-06-03 12:31:13 +0300 |
commit | d1dbaa54191e0014493cb4065aadb6764b404dd1 (patch) | |
tree | 5f4d55d1e3292f953212dc6e1378bca60cef09d3 /drivers/net/wireless/broadcom | |
parent | da16f5be45d0458e5240737fe90194ee33314bdf (diff) | |
download | linux-d1dbaa54191e0014493cb4065aadb6764b404dd1.tar.bz2 |
b43legacy: Remove unused inline function txring_to_priority()
commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code")
left behind this.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210529115131.6028-1-yuehaibing@huawei.com
Diffstat (limited to 'drivers/net/wireless/broadcom')
-rw-r--r-- | drivers/net/wireless/broadcom/b43legacy/dma.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/broadcom/b43legacy/dma.c b/drivers/net/wireless/broadcom/b43legacy/dma.c index 7e2f70c4207c..6869f2bf1bae 100644 --- a/drivers/net/wireless/broadcom/b43legacy/dma.c +++ b/drivers/net/wireless/broadcom/b43legacy/dma.c @@ -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) { |