Skip to content

Commit 68f2192

Browse files
committed
stmmac: intel: remove unused 'has_crossts' flag
Author: Wong Vee Khee <veekhee@apple.com> The 'has_crossts' flag was not used anywhere in the stmmac driver, removing it from both header file and dwmac-intel driver. Signed-off-by: Wong Vee Khee <veekhee@apple.com> Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de> Link: https://lore.kernel.org/r/20220817064324.10025-1-veekhee@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> (cherry picked from commit e34cfee) Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2100606 Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
1 parent 6886082 commit 68f2192

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,6 @@ static int intel_mgbe_common_data(struct pci_dev *pdev,
610610
plat->int_snapshot_num = AUX_SNAPSHOT1;
611611
plat->ext_snapshot_num = AUX_SNAPSHOT0;
612612

613-
plat->has_crossts = true;
614613
plat->crosststamp = intel_crosststamp;
615614
plat->int_snapshot_en = 0;
616615

include/linux/stmmac.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ struct plat_stmmacenet_data {
257257
u8 vlan_fail_q;
258258
unsigned int eee_usecs_rate;
259259
struct pci_dev *pdev;
260-
bool has_crossts;
261260
int int_snapshot_num;
262261
int ext_snapshot_num;
263262
bool int_snapshot_en;

0 commit comments

Comments
 (0)