Skip to contentSkip to conversation

net: ethernet: lantiq_etop: remove unused variable

PATCH Applied Aleksander Jan Bajkowski 2 participants 2 messages Aug 15, 2024 – Aug 16, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: ethernet: lantiq_etop: remove unused variable

Remove a variable that has never been used.

---
 drivers/net/ethernet/lantiq_etop.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/lantiq_etop.c +0 -1
index 9e6984815386..3c289bfe0a09 100644
@@ -95,7 +95,6 @@ struct ltq_etop_priv {
 	struct mii_bus *mii_bus;
 
 	struct ltq_etop_chan ch[MAX_DMA_CHAN];
-	int tx_free[MAX_DMA_CHAN >> 1];
 
 	int tx_burst_len;
 	int rx_burst_len;
Signature · 1 line
2.39.2
#1 lore raw
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 Thu, 15 Aug 2024 09:49:56 +0200 you wrote:

Remove a variable that has never been used.

---
 drivers/net/ethernet/lantiq_etop.c | 1 -
 1 file changed, 1 deletion(-)

Here is the summary with links:
- [net-next] net: ethernet: lantiq_etop: remove unused variable

    https://git.kernel.org/netdev/net-next/c/1f803c95693f

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html