net: ti: am65-cpsw-nuss: Remove dead code
MDIO node is not referenced further, therefore drop the dead code. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
parent
ddcf5318af
commit
cf9b9942bf
@ -746,13 +746,6 @@ static int am65_cpsw_probe_cpsw(struct udevice *dev)
|
||||
goto out;
|
||||
}
|
||||
|
||||
node = dev_read_subnode(dev, "mdio");
|
||||
if (!ofnode_valid(node)) {
|
||||
dev_err(dev, "can't find mdio\n");
|
||||
ret = -ENOENT;
|
||||
goto out;
|
||||
}
|
||||
|
||||
cpsw_common->bus_freq =
|
||||
dev_read_u32_default(dev, "bus_freq",
|
||||
AM65_CPSW_MDIO_BUS_FREQ_DEF);
|
||||
|
Loading…
Reference in New Issue
Block a user