Skip to contentSkip to conversation

stmmac: intel: remove unused 'has_crossts' flag

PATCH Applied Wong Vee Khee 3 participants 3 messages Aug 17, 2022 – Aug 18, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 stmmac: intel: remove unused 'has_crossts' flag

From: Wong Vee Khee <[email protected]>

The 'has_crossts' flag was not used anywhere in the stmmac driver, removing it from both header file and dwmac-intel driver.

---
 drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 1 -
 include/linux/stmmac.h                            | 1 -
 2 files changed, 2 deletions(-)
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c +0 -1
index 52f9ed8db9c9..1d96ca96009b 100644
@@ -610,7 +610,6 @@ static int intel_mgbe_common_data(struct pci_dev *pdev,
 	plat->int_snapshot_num = AUX_SNAPSHOT1;
 	plat->ext_snapshot_num = AUX_SNAPSHOT0;
 
-	plat->has_crossts = true;
 	plat->crosststamp = intel_crosststamp;
 	plat->int_snapshot_en = 0;
 
include/linux/stmmac.h +0 -1
index 8df475db88c0..fb2e88614f5d 100644
@@ -257,7 +257,6 @@ struct plat_stmmacenet_data {
 	u8 vlan_fail_q;
 	unsigned int eee_usecs_rate;
 	struct pci_dev *pdev;
-	bool has_crossts;
 	int int_snapshot_num;
 	int ext_snapshot_num;
 	bool int_snapshot_en;
Signature · 1 line
2.32.1 (Apple Git-133)
#2 lore raw
In reply to Wong Vee Khee
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Wed, 17 Aug 2022 14:43:24 +0800 you wrote:

From: Wong Vee Khee <[email protected]>

The 'has_crossts' flag was not used anywhere in the stmmac driver, removing it from both header file and dwmac-intel driver.

[...]

Here is the summary with links:
- [net-next,v2,1/1] stmmac: intel: remove unused 'has_crossts' flag

    https://git.kernel.org/netdev/net-next/c/e34cfee65ec8

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html