Skip to content

Commit

Permalink
net: ethtool: remove unused struct 'cable_test_tdr_req_info'
Browse files Browse the repository at this point in the history
'cable_test_tdr_req_info' is unused since the original
commit f2bc8ad ("net: ethtool: Allow PHY cable test TDR data to
configured").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dr. David Alan Gilbert authored and David S. Miller committed Jun 5, 2024
1 parent 6f49c3f commit a23b003
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/ethtool/cabletest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit a23b003

Please sign in to comment.