* [PATCH net-next] net: dsa: realtek: Remove unused buffer from struct realtek_priv
@ 2026-10-11 13:12 Thorsten Blum
2026-10-11 20:18 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-10-11 13:12 UTC (permalink / raw)
To: Linus Walleij, Luiz Angelo Daros de Luca, Alvin Šipraga,
Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
Cc: Thorsten Blum, netdev, linux-kernel
The buffer has never been used. Remove it.
Signed-off-by: Thorsten Blum <blum@kernel.org>
---
drivers/net/dsa/realtek/realtek.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/dsa/realtek/realtek.h b/drivers/net/dsa/realtek/realtek.h
index 6e0148cee8d8..ca3a71876599 100644
--- a/drivers/net/dsa/realtek/realtek.h
+++ b/drivers/net/dsa/realtek/realtek.h
@@ -97,7 +97,6 @@ struct realtek_priv {
int vlan_enabled;
int vlan4k_enabled;
- char buf[4096];
void *chip_data; /* Per-chip extra variant data */
};
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: dsa: realtek: Remove unused buffer from struct realtek_priv
2026-10-11 13:12 [PATCH net-next] net: dsa: realtek: Remove unused buffer from struct realtek_priv Thorsten Blum
@ 2026-10-11 20:18 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2026-10-11 20:18 UTC (permalink / raw)
To: Thorsten Blum
Cc: Luiz Angelo Daros de Luca, Alvin Šipraga, Andrew Lunn,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev, linux-kernel
On Sun, Oct 11, 2026 at 3:12 PM Thorsten Blum <blum@kernel.org> wrote:
> The buffer has never been used. Remove it.
>
> Signed-off-by: Thorsten Blum <blum@kernel.org>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Probably a leftover from initial development, thanks for finding this!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-11 20:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-11 13:12 [PATCH net-next] net: dsa: realtek: Remove unused buffer from struct realtek_priv Thorsten Blum
2026-10-11 20:18 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox