summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/miiphyutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/miiphyutil.c b/common/miiphyutil.c
index e499b58836..0811e098b4 100644
--- a/common/miiphyutil.c
+++ b/common/miiphyutil.c
@@ -159,7 +159,7 @@ void mdio_free(struct mii_dev *bus)
int mdio_register(struct mii_dev *bus)
{
- if (!bus || !bus->name || !bus->read || !bus->write)
+ if (!bus || !bus->read || !bus->write)
return -1;
/* check if we have unique name */
OpenPOWER on IntegriCloud