diff options
| author | Tom Rini <[email protected]> | 2016-12-09 07:56:54 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-12-09 07:56:54 -0500 |
| commit | 361a879902a3cbdb692149a1ac580e3199e771ba (patch) | |
| tree | 22d8f65bdf2e41096d13f2bfd458fb25b3c3698d /common/miiphyutil.c | |
| parent | 3edc0c252257e4afed163a3a74aba24a5509b198 (diff) | |
Revert "Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze"
This reverts commit 3edc0c252257e4afed163a3a74aba24a5509b198, reversing
changes made to bb135a0180c31fbd7456021fb9700b49bba7f533.
Diffstat (limited to 'common/miiphyutil.c')
| -rw-r--r-- | common/miiphyutil.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/common/miiphyutil.c b/common/miiphyutil.c index 0a83d6463d6..aca18db52a0 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) |
