diff options
| author | Ethan Nelson-Moore <enelsonmoore@gmail.com> | 2026-01-24 11:22:06 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-27 06:28:01 +0300 |
| commit | bd323fab96fba4a134d3c69bd12892f8ae3940bc (patch) | |
| tree | bd7c064daddb6895e420a19b694e1149a1467d89 /include/linux/stringify.h | |
| parent | 2dd698f68e3c9bfcb2b33d3a0579b32f5824d91b (diff) | |
| download | linux-bd323fab96fba4a134d3c69bd12892f8ae3940bc.tar.xz | |
net: usb: replace unnecessary get_link functions with usbnet_get_link
usbnet_get_link calls mii_link_ok if the device has a MII defined in
its usbnet struct and no check_connect function defined there. This is
true of these drivers, so their custom get_link functions which call
mii_link_ok are useless. Remove them in favor of usbnet_get_link.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Peter Korsgaard <peter@korsgaard.com>
Link: https://patch.msgid.link/20260124082217.82351-1-enelsonmoore@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
