diff mbox series

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

Message ID 20230808144545.37484-1-yuehaibing@huawei.com (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: phy: Remove two unused function declarations | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1729 this patch: 1729
netdev/cc_maintainers fail 3 maintainers not CCed: linux@armlinux.org.uk hkallweit1@gmail.com andrew@lunn.ch
netdev/build_clang success Errors and warnings before: 1632 this patch: 1632
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1738 this patch: 1738
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 10 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 8, 2023, 2:45 p.m. UTC
Commit 1e2dc14509fd ("net: ethtool: Add helpers for reporting test results")
declared but never implemented these function.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/linux/phy.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Yue Haibing Aug. 8, 2023, 2:49 p.m. UTC | #1
Sorry, pls ignore this, will resend to correct maintainers.

On 2023/8/8 22:45, Yue Haibing wrote:
> Commit 1e2dc14509fd ("net: ethtool: Add helpers for reporting test results")
> declared but never implemented these function.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  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);
>
diff mbox series

Patch

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);