igc: remove redundant igc_hw.h include from igc_main.c
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/net/ethernet/intel/igc/igc_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_main.c +0 -1
@@ -17,7 +17,6 @@#include <net/ipv6.h> #include "igc.h" -#include "igc_hw.h" #include "igc_tsn.h" #include "igc_xdp.h"
Signature · 1 line
2.53.0
Quoted 33 lines
-----Original Message-----
From: Sasha Neftin <[email protected]>
Sent: Sunday, October 18, 2026 8:54 PM
To: [email protected]
Subject: [iwl-next, v1] igc: remove redundantigc_hw.hinclude fromigc_main.c
igc.halready includesigc_hw.h, so the explicit include inigc_main.cis redundant. Drop it.No functional change.
Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_main.c | 1 - 1 file changed, 1 deletion(-)drivers/net/ethernet/intel/igc/igc_main.c +0
-2@@ -17,7 +17,6 @@#include <net/ipv6.h> #include "igc.h" -#include "igc_hw.h" #include "igc_tsn.h" #include "igc_xdp.h" --
Quoted 1 line
2.53.0
Reviewed-by Aleksandr Loktionov <[email protected]>
Quoted 10 lines · Sasha Neftin
igc.halready includesigc_hw.h, so the explicit include inigc_main.cis redundant. Drop it.No functional change.
Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_main.c | 1 - 1 file changed, 1 deletion(-)
Tested-by Avigail Dahan <[email protected]>