OSDN Git Service

net: phy: Remove two unused function declarations
authorYue Haibing <yuehaibing@huawei.com>
Tue, 8 Aug 2023 14:46:10 +0000 (22:46 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Aug 2023 20:09:46 +0000 (13:09 -0700)
Commit 1e2dc14509fd ("net: ethtool: Add helpers for reporting test results")
declared but never implemented these function.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230808144610.19096-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/phy.h

index ba08b0e..b963ce2 100644 (file)
@@ -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);