mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
b43legacy: Remove unused inline function txring_to_priority()
commit 5d07a3d62f
("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
This commit is contained in:
parent
da16f5be45
commit
d1dbaa5419
1 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue