Skip to contentSkip to conversation

net: ethtool: remove unused struct 'cable_test_tdr_req_info'

PATCH Applied [email protected] 3 participants 3 messages May 31, 2024 – Jun 5, 2024

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

PATCH 1/1 net: ethtool: remove unused struct 'cable_test_tdr_req_info'

From: "Dr. David Alan Gilbert" <[email protected]>

'cable_test_tdr_req_info' is unused since the original commit f2bc8ad31a7f ("net: ethtool: Allow PHY cable test TDR data to configured").

Remove it.

---
 net/ethtool/cabletest.c | 4 ----
 1 file changed, 4 deletions(-)
net/ethtool/cabletest.c +0 -4
index 06a151165c31..f6f136ec7ddf 100644
@@ -207,10 +207,6 @@ int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm)
 }
 EXPORT_SYMBOL_GPL(ethnl_cable_test_fault_length);
 
-struct cable_test_tdr_req_info {
-	struct ethnl_req_info		base;
-};
-
 static const struct nla_policy cable_test_tdr_act_cfg_policy[] = {
 	[ETHTOOL_A_CABLE_TEST_TDR_CFG_FIRST]	= { .type = NLA_U32 },
 	[ETHTOOL_A_CABLE_TEST_TDR_CFG_LAST]	= { .type = NLA_U32 },
Signature · 1 line
2.45.1
#2 lore raw
In reply to [email protected]
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:

Quoted 9 lines · On Sat, 1 Jun 2024 00:30:06 +0100 you wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'cable_test_tdr_req_info' is unused since the original commit f2bc8ad31a7f ("net: ethtool: Allow PHY cable test TDR data to configured").

Remove it.

[...]

Here is the summary with links:
- net: ethtool: remove unused struct 'cable_test_tdr_req_info'

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

You are awesome, thank you!

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