Re: [PATCH 01/16] net: phy: adin: add support for Analog Devices PHYs

From: Andrew Lunn
Date: Mon Aug 05 2019 - 10:16:49 EST


> +static int adin_config_init(struct phy_device *phydev)
> +{
> + int rc;
> +
> + rc = genphy_config_init(phydev);
> + if (rc < 0)
> + return rc;
> +
> + return 0;
> +}

Why not just

return genphy_config_init(phydev);

Andrew