exports.c: drop unused dummy function
authorRasmus Villemoes <ravi@prevas.dk>
Fri, 19 Sep 2025 10:09:58 +0000 (12:09 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 17:55:13 +0000 (11:55 -0600)
commita78941bc7ff72ab3b67197d53216306429e6a831
tree40ac5fadceda2d151fa91d913dfc1093ceb729a9
parenteb178c849c25024225941db79c1c3b9681a46a80
exports.c: drop unused dummy function

The !CONFIG_PHY_AQUANTIA defines were already superfluous since
_exports.h does have a CONFIG_PHY_AQUANTIA, so the entries never
existed. In fact, it couldn't have worked, because the defines would
affect both occurences of the mdio_get_current_dev identifier in the

EXPORT_FUNC(mdio_get_current_dev, struct mii_dev *,
    mdio_get_current_dev, void)

so the C code would end up containing four copies of

  gd->jt->dummy = dummy

but struct jt_funcs would not and does not have any 'dummy' member.

Now that nothing in _exports.h refers to dummy(), remove the empty
function.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/exports.c