|
@@ -3206,7 +3206,6 @@ static void init_secondary_ports(struct gbe_priv *gbe_dev,
|
|
if (!slave->phy) {
|
|
if (!slave->phy) {
|
|
dev_err(dev, "phy not found for slave %d\n",
|
|
dev_err(dev, "phy not found for slave %d\n",
|
|
slave->slave_num);
|
|
slave->slave_num);
|
|
- slave->phy = NULL;
|
|
|
|
} else {
|
|
} else {
|
|
dev_dbg(dev, "phy found: id is: 0x%s\n",
|
|
dev_dbg(dev, "phy found: id is: 0x%s\n",
|
|
phydev_name(slave->phy));
|
|
phydev_name(slave->phy));
|