* [PATCH net-next] net: spacemit: Remove unused buff_addr fields
@ 2026-03-05 7:00 Vivian Wang
2026-03-07 3:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Vivian Wang @ 2026-03-05 7:00 UTC (permalink / raw)
To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Yixun Lan
Cc: netdev, linux-riscv, spacemit, linux-kernel, Vivian Wang
These were never used. Just remove them.
No functional change intended.
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn>
---
Cleanup patch split out from:
https://lore.kernel.org/r/20260303-k1-ethernet-more-fixes-v1-1-0ab0122fdd14@iscas.ac.cn/
---
drivers/net/ethernet/spacemit/k1_emac.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/spacemit/k1_emac.c b/drivers/net/ethernet/spacemit/k1_emac.c
index 338a2637b1da..af58eae6fcd8 100644
--- a/drivers/net/ethernet/spacemit/k1_emac.c
+++ b/drivers/net/ethernet/spacemit/k1_emac.c
@@ -57,7 +57,6 @@
struct desc_buf {
u64 dma_addr;
- void *buff_addr;
u16 dma_len;
u8 map_as_page;
};
@@ -70,7 +69,6 @@ struct emac_tx_desc_buffer {
struct emac_rx_desc_buffer {
struct sk_buff *skb;
u64 dma_addr;
- void *buff_addr;
u16 dma_len;
u8 map_as_page;
};
@@ -340,7 +338,6 @@ static void emac_free_tx_buf(struct emac_priv *priv, int i)
buf->dma_addr = 0;
buf->map_as_page = false;
- buf->buff_addr = NULL;
}
if (tx_buf->skb) {
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260305-k1-ethernet-cleanup-buff_addr-a74486e305e6
Best regards,
--
Vivian "dramforever" Wang
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: spacemit: Remove unused buff_addr fields
2026-03-05 7:00 [PATCH net-next] net: spacemit: Remove unused buff_addr fields Vivian Wang
@ 2026-03-07 3:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-07 3:10 UTC (permalink / raw)
To: Vivian Wang
Cc: andrew+netdev, davem, edumazet, kuba, pabeni, dlan, netdev,
linux-riscv, spacemit, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 05 Mar 2026 15:00:29 +0800 you wrote:
> These were never used. Just remove them.
>
> No functional change intended.
>
> Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn>
> ---
> Cleanup patch split out from:
>
> [...]
Here is the summary with links:
- [net-next] net: spacemit: Remove unused buff_addr fields
https://git.kernel.org/netdev/net-next/c/70eba59f9207
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-07 3:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05 7:00 [PATCH net-next] net: spacemit: Remove unused buff_addr fields Vivian Wang
2026-03-07 3:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox