Re: [RFC net-next 3/9] i40e: Remove unused i40e_(read|write)_phy_register

From: Simon Horman
Date: Mon Jan 06 2025 - 06:43:56 EST


On Sat, Dec 21, 2024 at 06:42:41PM +0000, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> i40e_read_phy_register() and i40e_write_phy_register() were added in
> 2016 by
> commit f62ba91458b5 ("i40e: Add functions which apply correct PHY access
> method for read and write operation")
>
> but haven't been used.
>
> Remove them.
>
> (There are more specific _clause* variants of these functions
> that are still used.)
>
> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>