igc: remove redundant headers include from igc_tsn.c
Subsystems (2)
PATCH 1/1 igc: remove redundant headers include from igc_tsn.c
igc.h already includes igc_hw.h and igc_hw.h already includes igc_base.h, so the explicit include in igc_tsn.c is redundant. Drop it.
Also, fix a minor typo in the #endif comment in igc_tsn.h.
No functional change.
--- drivers/net/ethernet/intel/igc/igc_tsn.c | 2 -- drivers/net/ethernet/intel/igc/igc_tsn.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)
drivers/net/ethernet/intel/igc/igc_tsn.c +0 -2
@@ -2,8 +2,6 @@/* Copyright (c) 2019 Intel Corporation */ #include "igc.h" -#include "igc_base.h" -#include "igc_hw.h" #include "igc_tsn.h" #define MIN_MULTPLIER_TX_MIN_FRAG 0
drivers/net/ethernet/intel/igc/igc_tsn.h +1 -1
@@ -67,4 +67,4 @@ static inline bool igc_fpe_transmitted_smd_v(union igc_adv_tx_desc *tx_desc) return smd == SMD_V; } -#endif /* _IGC_BASE_H */ +#endif /* _IGC_TSN_H */
Signature · 1 line
2.53.0
Quoted 49 lines
-----Original Message-----
From: Sasha Neftin <[email protected]>
Sent: Saturday, October 24, 2026 6:24 PM
To: [email protected]
Subject: [iwl-next, v1] igc: remove redundant headers include fromigc_tsn.c
igc.halready includesigc_hw.handigc_hw.halready includesigc_base.h, so the explicit include inigc_tsn.cis redundant. Drop it.Also, fix a minor typo in the #endif comment in
igc_tsn.h.No functional change.
Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_tsn.c | 2 -- drivers/net/ethernet/intel/igc/igc_tsn.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)drivers/net/ethernet/intel/igc/igc_tsn.c +0
-2@@ -2,8 +2,6 @@/* Copyright (c) 2019 Intel Corporation */ #include "igc.h" -#include "igc_base.h" -#include "igc_hw.h" #include "igc_tsn.h" #define MIN_MULTPLIER_TX_MIN_FRAG 0drivers/net/ethernet/intel/igc/igc_tsn.h +1
-2@@ -67,4 +67,4 @@ static inline bool igc_fpe_transmitted_smd_v(union igc_adv_tx_desc *tx_desc) return smd == SMD_V; } -#endif /* _IGC_BASE_H */ +#endif /* _IGC_TSN_H */ --
Quoted 1 line
2.53.0
Cohen, MichalX
Tested-byQuoted 46 lines · Aleksandr
Quoted 46 lines
-----Original Message-----
From: Sasha Neftin <[email protected]>
Sent: Saturday, October 24, 2026 6:24 PM
To: [email protected]
Subject: [iwl-next, v1] igc: remove redundant headers include fromigc_tsn.c
igc.halready includesigc_hw.handigc_hw.halready includesigc_base.h, so the explicit include inigc_tsn.cis redundant. Drop it.Also, fix a minor typo in the #endif comment in
igc_tsn.h.No functional change.
Signed-off-by Sasha Neftin <[email protected]>--- drivers/net/ethernet/intel/igc/igc_tsn.c | 2 -- drivers/net/ethernet/intel/igc/igc_tsn.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)drivers/net/ethernet/intel/igc/igc_tsn.c +0
-2@@ -2,8 +2,6 @@/* Copyright (c) 2019 Intel Corporation */ #include "igc.h" -#include "igc_base.h" -#include "igc_hw.h" #include "igc_tsn.h" #define MIN_MULTPLIER_TX_MIN_FRAG 0drivers/net/ethernet/intel/igc/igc_tsn.h +0
-0@@ -67,4 +67,4 @@ static inline bool igc_fpe_transmitted_smd_v(union igc_adv_tx_desc *tx_desc)return smd ==SMD_V ; }
Quoted 6 lines
Quoted 4 lines
drivers/net/ethernet/intel/igc/igc_tsn.h +1
-2-#endif /* _IGC_BASE_H */ +#endif /* _IGC_TSN_H */ --2.53.0
Reviewed-by Aleksandr Loktionov <[email protected]>