netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next v2 1/1] stmmac: intel: remove unused 'has_crossts' flag
@ 2022-08-17  6:43 Wong Vee Khee
  2022-08-17  8:03 ` Kurt Kanzenbach
  2022-08-18  5:10 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Wong Vee Khee @ 2022-08-17  6:43 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Maxime Coquelin
  Cc: Wong Vee Khee, Kurt Kanzenbach, netdev, linux-stm32,
	linux-arm-kernel

From: 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>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 1 -
 include/linux/stmmac.h                            | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
index 52f9ed8db9c9..1d96ca96009b 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
@@ -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;
 
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 8df475db88c0..fb2e88614f5d 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -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;
-- 
2.32.1 (Apple Git-133)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [net-next v2 1/1] stmmac: intel: remove unused 'has_crossts' flag
  2022-08-17  6:43 [net-next v2 1/1] stmmac: intel: remove unused 'has_crossts' flag Wong Vee Khee
@ 2022-08-17  8:03 ` Kurt Kanzenbach
  2022-08-18  5:10 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Kurt Kanzenbach @ 2022-08-17  8:03 UTC (permalink / raw)
  To: Wong Vee Khee, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Maxime Coquelin
  Cc: Wong Vee Khee, netdev, linux-stm32, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

On Wed Aug 17 2022, Wong Vee Khee wrote:
> From: 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>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [net-next v2 1/1] stmmac: intel: remove unused 'has_crossts' flag
  2022-08-17  6:43 [net-next v2 1/1] stmmac: intel: remove unused 'has_crossts' flag Wong Vee Khee
  2022-08-17  8:03 ` Kurt Kanzenbach
@ 2022-08-18  5:10 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-08-18  5:10 UTC (permalink / raw)
  To: Wong Vee Khee
  Cc: peppe.cavallaro, alexandre.torgue, joabreu, davem, edumazet, kuba,
	pabeni, mcoquelin.stm32, veekhee, kurt, netdev, linux-stm32,
	linux-arm-kernel

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 17 Aug 2022 14:43:24 +0800 you wrote:
> From: 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>
> 
> [...]

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-18  5:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-17  6:43 [net-next v2 1/1] stmmac: intel: remove unused 'has_crossts' flag Wong Vee Khee
2022-08-17  8:03 ` Kurt Kanzenbach
2022-08-18  5:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).