smsc911x: remove superfluous variable init
phydev is assigned a value right away, no need to initialize it. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230329064414.25028-1-wsa+renesas@sang-engineering.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
4ddd6375c3
commit
da617cd8d9
|
@ -1016,7 +1016,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev)
|
|||
static int smsc911x_mii_probe(struct net_device *dev)
|
||||
{
|
||||
struct smsc911x_data *pdata = netdev_priv(dev);
|
||||
struct phy_device *phydev = NULL;
|
||||
struct phy_device *phydev;
|
||||
int ret;
|
||||
|
||||
/* find the first phy */
|
||||
|
|
Loading…
Reference in New Issue