diff options
| author | Marek Vasut <[email protected]> | 2023-03-19 18:03:15 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2023-04-07 14:18:51 +0200 |
| commit | 7da03bbc5711b394674f2ed40a2a3c9c4cb46154 (patch) | |
| tree | d2cf3616e86594c6f0f94423c49aeef9a5bccc13 /drivers | |
| parent | 8728d4c032571a8569af14d09d18bf444c30e446 (diff) | |
net: phy: Drop unused phy_register()
This function is no longer used, drop it.
Signed-off-by: Marek Vasut <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Acked-by: Michal Simek <[email protected]>
Tested-by: Michal Simek <[email protected]> #microblaze (MANUAL_RELOC)
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/phy/phy.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index f4aa1f664cb..15da9a80de2 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -500,14 +500,6 @@ int phy_init(void) return 0; } -int phy_register(struct phy_driver *drv) -{ -#ifdef CONFIG_NEEDS_MANUAL_RELOC - phy_drv_reloc(drv); -#endif - return 0; -} - int phy_set_supported(struct phy_device *phydev, u32 max_speed) { /* The default values for phydev->supported are provided by the PHY |
