diff mbox series

[iwl-next,v1] igc: remove redundant igc_hw.h include from igc_main.c

Message ID 20261018185352.46199-1-sashaneftin@gmail.com
State Under Review
Headers show
Series [iwl-next,v1] igc: remove redundant igc_hw.h include from igc_main.c | expand

Commit Message

Sasha Neftin Oct. 18, 2026, 6:53 p.m. UTC
igc.h already includes igc_hw.h, so the explicit include in igc_main.c
is redundant. Drop it.

No functional change.

Signed-off-by: Sasha Neftin <sashaneftin@gmail.com>
---
 drivers/net/ethernet/intel/igc/igc_main.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Loktionov, Aleksandr Oct. 26, 2026, 10:10 p.m. UTC | #1
> -----Original Message-----
> From: Sasha Neftin <sashaneftin@gmail.com>
> Sent: Sunday, October 18, 2026 8:54 PM
> To: intel-wired-lan@osuosl.org
> Subject: [iwl-next, v1] igc: remove redundant igc_hw.h include from
> igc_main.c
> 
> igc.h already includes igc_hw.h, so the explicit include in igc_main.c
> is redundant. Drop it.
> 
> No functional change.
> 
> Signed-off-by: Sasha Neftin <sashaneftin@gmail.com>
> ---
>  drivers/net/ethernet/intel/igc/igc_main.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/intel/igc/igc_main.c
> b/drivers/net/ethernet/intel/igc/igc_main.c
> index 3b7dd104d8d9..208840a5bb78 100644
> --- a/drivers/net/ethernet/intel/igc/igc_main.c
> +++ b/drivers/net/ethernet/intel/igc/igc_main.c
> @@ -17,7 +17,6 @@
>  #include <net/ipv6.h>
> 
>  #include "igc.h"
> -#include "igc_hw.h"
>  #include "igc_tsn.h"
>  #include "igc_xdp.h"
> 
> --
> 2.53.0


Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c
index 3b7dd104d8d9..208840a5bb78 100644
--- a/drivers/net/ethernet/intel/igc/igc_main.c
+++ b/drivers/net/ethernet/intel/igc/igc_main.c
@@ -17,7 +17,6 @@ 
 #include <net/ipv6.h>
 
 #include "igc.h"
-#include "igc_hw.h"
 #include "igc_tsn.h"
 #include "igc_xdp.h"