summaryrefslogtreecommitdiff
path: root/common/miiphyutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/miiphyutil.c')
-rw-r--r--common/miiphyutil.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/common/miiphyutil.c b/common/miiphyutil.c
index 0a83d6463d..aca18db52a 100644
--- a/common/miiphyutil.c
+++ b/common/miiphyutil.c
@@ -107,18 +107,6 @@ int mdio_register(struct mii_dev *bus)
return 0;
}
-int mdio_register_seq_name(struct mii_dev *bus, int seq)
-{
- int ret;
-
- /* Setup a unique name for each mdio bus */
- ret = snprintf(bus->name, MDIO_NAME_LEN, "eth%d", seq);
- if (ret < 0)
- return ret;
-
- return mdio_register(bus);
-}
-
int mdio_unregister(struct mii_dev *bus)
{
if (!bus)