Commit e34cfee6 authored by Wong Vee Khee's avatar Wong Vee Khee Committed by Jakub Kicinski

stmmac: intel: remove unused 'has_crossts' flag

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: default avatarWong Vee Khee <veekhee@apple.com>
Reviewed-by: Kurt Kanzenbach's avatarKurt Kanzenbach <kurt@linutronix.de>
Link: https://lore.kernel.org/r/20220817064324.10025-1-veekhee@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3f5f728a
...@@ -610,7 +610,6 @@ static int intel_mgbe_common_data(struct pci_dev *pdev, ...@@ -610,7 +610,6 @@ static int intel_mgbe_common_data(struct pci_dev *pdev,
plat->int_snapshot_num = AUX_SNAPSHOT1; plat->int_snapshot_num = AUX_SNAPSHOT1;
plat->ext_snapshot_num = AUX_SNAPSHOT0; plat->ext_snapshot_num = AUX_SNAPSHOT0;
plat->has_crossts = true;
plat->crosststamp = intel_crosststamp; plat->crosststamp = intel_crosststamp;
plat->int_snapshot_en = 0; plat->int_snapshot_en = 0;
......
...@@ -257,7 +257,6 @@ struct plat_stmmacenet_data { ...@@ -257,7 +257,6 @@ struct plat_stmmacenet_data {
u8 vlan_fail_q; u8 vlan_fail_q;
unsigned int eee_usecs_rate; unsigned int eee_usecs_rate;
struct pci_dev *pdev; struct pci_dev *pdev;
bool has_crossts;
int int_snapshot_num; int int_snapshot_num;
int ext_snapshot_num; int ext_snapshot_num;
bool int_snapshot_en; bool int_snapshot_en;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment