Skip to contentSkip to conversation

eth: igc: remove unused embedded struct net_device

PATCH Applied Jakub Kicinski 4 participants 4 messages Mar 1, 2024 – Mar 4, 2024

Subsystems (3)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 eth: igc: remove unused embedded struct net_device

struct net_device poll_dev in struct igc_q_vector was added in one of the initial commits, but never used.

---
CC: [email protected]
CC: [email protected]

---
 drivers/net/ethernet/intel/igc/igc.h | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc.h +0 -1
index cfa6baccec55..90316dc58630 100644
@@ -570,7 +570,6 @@ struct igc_q_vector {
 
 	struct rcu_head rcu;    /* to avoid race with update stats on free */
 	char name[IFNAMSIZ + 9];
-	struct net_device poll_dev;
 
 	/* for dynamic allocation of rings associated with this q_vector */
 	struct igc_ring ring[] ____cacheline_internodealigned_in_smp;
Signature · 1 line
2.43.2
#3 lore raw
In reply to Jakub Kicinski
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Quoted 9 lines · On Thu, 29 Feb 2024 23:02:55 -0800 you wrote:

struct net_device poll_dev in struct igc_q_vector was added in one of the initial commits, but never used.

---
CC: [email protected]
CC: [email protected]

[...]

Here is the summary with links:
- [net-next] eth: igc: remove unused embedded struct net_device

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

You are awesome, thank you!

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