eth: igc: remove unused embedded struct net_device
Subsystems (3)
Jakub Kicinski
maintainerPATCH 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
@@ -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
Quoted 5 lines · Jakub Kicinski
struct
net_devicepoll_devin structigc_q_vectorwas added in one of the initial commits, but never used.Signed-off-by Jakub Kicinski <[email protected]>
Quoted 4 lines · Jakub Kicinski
struct
net_devicepoll_devin structigc_q_vectorwas added in one of the initial commits, but never used.Signed-off-by Jakub Kicinski <[email protected]>
Thanks Jakub, you can just apply this directly AFAICS.
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_devicepoll_devin structigc_q_vectorwas added in one of the initial commits, but never used.Signed-off-by Jakub Kicinski <[email protected]>---
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