On Wed, Feb 17, 2021 at 6:48 AM Vladimir Oltean <olte...@gmail.com> wrote: > > From: Vladimir Oltean <vladimir.olt...@nxp.com> > > In drivers/net/phy/Kconfig, CONFIG_PHY_FIXED already depends on > CONFIG_DM_ETH, so the function prototype definition when CONFIG_DM_ETH=n > does nothing, so it can be dropped. It is also never reachable, since > the whole function is already under #ifdef CONFIG_PHY_FIXED (which > again, as I said, depends on CONFIG_DM_ETH=y). > > Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> > --- > drivers/net/phy/phy.c | 6 ------ > 1 file changed, 6 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>