From: Jakub Kicinski Date: Fri, 1 Mar 2024 07:02:55 +0000 (-0800) Subject: eth: igc: remove unused embedded struct net_device X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c2a22688c931ae965daa15691e902f9cf3069f5f;p=linux.git 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. Signed-off-by: Jakub Kicinski Reviewed-by: Eric Dumazet Reviewed-by: Jesse Brandeburg Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h index cfa6baccec55d..90316dc586308 100644 --- a/drivers/net/ethernet/intel/igc/igc.h +++ b/drivers/net/ethernet/intel/igc/igc.h @@ -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;