summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2025-09-19 12:09:58 +0200
committerTom Rini <[email protected]>2025-09-26 11:55:13 -0600
commita78941bc7ff72ab3b67197d53216306429e6a831 (patch)
tree40ac5fadceda2d151fa91d913dfc1093ceb729a9 /scripts/checkpatch.pl
parenteb178c849c25024225941db79c1c3b9681a46a80 (diff)
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions