net: dsa: realtek: Remove unused buffer from struct realtek_priv
PATCH 1/1 net: dsa: realtek: Remove unused buffer from struct realtek_priv
The buffer has never been used. Remove it.
Signed-off-by Thorsten Blum <[email protected]>
--- drivers/net/dsa/realtek/realtek.h | 1 - 1 file changed, 1 deletion(-)
drivers/net/dsa/realtek/realtek.h +0 -1
@@ -97,7 +97,6 @@ struct realtek_priv {int vlan_enabled;int vlan4k_enabled; -char buf[4096 ];void *chip_data;/* Per-chip extra variant data */ };
Quoted 3 lines · Thorsten Blum
The buffer has never been used. Remove it.
Signed-off-by Thorsten Blum <[email protected]>
Reviewed-by Linus Walleij <[email protected]>
Probably a leftover from initial development, thanks for finding this!
Yours,
Linus Walleij
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 6 lines · On Sun, 11 Oct 2026 15:12:10 +0200 you wrote:
The buffer has never been used. Remove it.
Signed-off-by Thorsten Blum <[email protected]>--- drivers/net/dsa/realtek/realtek.h | 1 - 1 file changed, 1 deletion(-)
Here is the summary with links:
- [net-next] net: dsa: realtek: Remove unused buffer from struct realtek_priv
https://git.kernel.org/netdev/net-next/c/207d1c23945a
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html