[PATCH net-next] net: phy: Remove two unused function declarations

Subsystems: ethernet phy library, the rest

STALE1120d

2 messages, 1 author, 2023-08-08 · open the first message on its own page

[PATCH net-next] net: phy: Remove two unused function declarations

From: Yue Haibing <hidden>
Date: 2023-08-08 16:21:41

Commit 1e2dc14509fd ("net: ethtool: Add helpers for reporting test results")
declared but never implemented these function.

Signed-off-by: Yue Haibing <redacted>
---
 include/linux/phy.h | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index ba08b0e60279..b963ce22e7c7 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -1732,10 +1732,6 @@ int phy_start_cable_test_tdr(struct phy_device *phydev,
 }
 #endif
 
-int phy_cable_test_result(struct phy_device *phydev, u8 pair, u16 result);
-int phy_cable_test_fault_length(struct phy_device *phydev, u8 pair,
-				u16 cm);
-
 static inline void phy_device_reset(struct phy_device *phydev, int value)
 {
 	mdio_device_reset(&phydev->mdio, value);
-- 
2.34.1

Re: [PATCH net-next] net: phy: Remove two unused function declarations

From: Yue Haibing <hidden>
Date: 2023-08-08 17:27:47

Sorry, pls ignore this, will resend to correct maintainers.

On 2023/8/8 22:45, Yue Haibing wrote:
quoted hunk
Commit 1e2dc14509fd ("net: ethtool: Add helpers for reporting test results")
declared but never implemented these function.

Signed-off-by: Yue Haibing <redacted>
---
 include/linux/phy.h | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index ba08b0e60279..b963ce22e7c7 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -1732,10 +1732,6 @@ int phy_start_cable_test_tdr(struct phy_device *phydev,
 }
 #endif
 
-int phy_cable_test_result(struct phy_device *phydev, u8 pair, u16 result);
-int phy_cable_test_fault_length(struct phy_device *phydev, u8 pair,
-				u16 cm);
-
 static inline void phy_device_reset(struct phy_device *phydev, int value)
 {
 	mdio_device_reset(&phydev->mdio, value);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help