* [PATCH] b43legacy: Remove unused inline function txring_to_priority()
@ 2021-05-29 11:51 ` YueHaibing
0 siblings, 0 replies; 4+ messages in thread
From: YueHaibing @ 2021-05-29 11:51 UTC (permalink / raw)
To: Larry.Finger, kvalo, davem, kuba, gustavoars, yuehaibing
Cc: linux-wireless, b43-dev, netdev, linux-kernel
commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code")
left behind this.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/net/wireless/broadcom/b43legacy/dma.c | 13 -------------
1 file changed, 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)
{
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] b43legacy: Remove unused inline function txring_to_priority()
@ 2021-05-29 11:51 ` YueHaibing
0 siblings, 0 replies; 4+ messages in thread
From: YueHaibing @ 2021-05-29 11:51 UTC (permalink / raw)
To: Larry.Finger, kvalo, davem, kuba, gustavoars, yuehaibing
Cc: linux-wireless, b43-dev, netdev, linux-kernel
commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code")
left behind this.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/net/wireless/broadcom/b43legacy/dma.c | 13 -------------
1 file changed, 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)
{
--
2.17.1
_______________________________________________
b43-dev mailing list
b43-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/b43-dev
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] b43legacy: Remove unused inline function txring_to_priority()
2021-05-29 11:51 ` YueHaibing
(?)
@ 2021-06-03 9:31 ` Kalle Valo
-1 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2021-06-03 9:31 UTC (permalink / raw)
To: YueHaibing
Cc: Larry.Finger, davem, kuba, gustavoars, yuehaibing,
linux-wireless, b43-dev, netdev, linux-kernel
YueHaibing <yuehaibing@huawei.com> wrote:
> commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code")
> left behind this.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Patch applied to wireless-drivers-next.git, thanks.
d1dbaa54191e b43legacy: Remove unused inline function txring_to_priority()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210529115131.6028-1-yuehaibing@huawei.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
_______________________________________________
b43-dev mailing list
b43-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/b43-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] b43legacy: Remove unused inline function txring_to_priority()
2021-05-29 11:51 ` YueHaibing
(?)
(?)
@ 2021-06-03 9:31 ` Kalle Valo
-1 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2021-06-03 9:31 UTC (permalink / raw)
To: YueHaibing
Cc: Larry.Finger, davem, kuba, gustavoars, yuehaibing,
linux-wireless, b43-dev, netdev, linux-kernel
YueHaibing <yuehaibing@huawei.com> wrote:
> commit 5d07a3d62f63 ("b43legacy: Avoid packet losses in the dma worker code")
> left behind this.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Patch applied to wireless-drivers-next.git, thanks.
d1dbaa54191e b43legacy: Remove unused inline function txring_to_priority()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210529115131.6028-1-yuehaibing@huawei.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-03 9:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-29 11:51 [PATCH] b43legacy: Remove unused inline function txring_to_priority() YueHaibing
2021-05-29 11:51 ` YueHaibing
2021-06-03 9:31 ` Kalle Valo
2021-06-03 9:31 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.