On Sun, Mar 19, 2023 at 7:05 PM Marek Vasut
<[email protected]> wrote:
>
> This function is no longer used, drop it.
>
> Signed-off-by: Marek Vasut <[email protected]>
> ---
> Cc: "Ariel D'Alessandro" <[email protected]>
> Cc: "Cédric Le Goater" <[email protected]>
> Cc: "Marek Behún" <[email protected]>
> Cc: Alex Nemirovsky <[email protected]>
> Cc: Haolin Li <[email protected]>
> Cc: Heinrich Schuchardt <[email protected]>
> Cc: Joe Hershberger <[email protected]>
> Cc: Joel Stanley <[email protected]>
> Cc: Josua Mayer <[email protected]>
> Cc: Marek Vasut <[email protected]>
> Cc: Michael Trimarchi <[email protected]>
> Cc: Michal Simek <[email protected]>
> Cc: Nate Drude <[email protected]>
> Cc: Neil Armstrong <[email protected]>
> Cc: Radu Pirea <[email protected]>
> Cc: Ramon Fried <[email protected]>
> Cc: Samuel Mendoza-Jonas <[email protected]>
> Cc: Stefan Roese <[email protected]>
> Cc: T Karthik Reddy <[email protected]>
> Cc: Tim Harvey <[email protected]>
> Cc: Vladimir Oltean <[email protected]>
> Cc: [email protected]
> ---
>  drivers/net/phy/phy.c | 8 --------
>  include/phy.h         | 1 -
>  2 files changed, 9 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
> diff --git a/include/phy.h b/include/phy.h
> index 5e8ae5e29aa..4a9de461152 100644
> --- a/include/phy.h
> +++ b/include/phy.h
> @@ -293,7 +293,6 @@ int phy_clear_bits_mmd(struct phy_device *phydev, int 
> devad, u32 regnum, u16 val
>  int phy_startup(struct phy_device *phydev);
>  int phy_config(struct phy_device *phydev);
>  int phy_shutdown(struct phy_device *phydev);
> -int phy_register(struct phy_driver *drv);
>  int phy_set_supported(struct phy_device *phydev, u32 max_speed);
>  int phy_modify(struct phy_device *phydev, int devad, int regnum, u16 mask,
>                u16 set);
> --
> 2.39.2
>
Reviewed-by: Ramon Fried <[email protected]>

Reply via email to