diff options
| author | Ethan Nelson-Moore <enelsonmoore@gmail.com> | 2026-01-24 00:22:06 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-26 19:28:01 -0800 |
| commit | bd323fab96fba4a134d3c69bd12892f8ae3940bc (patch) | |
| tree | bd7c064daddb6895e420a19b694e1149a1467d89 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 2dd698f68e3c9bfcb2b33d3a0579b32f5824d91b (diff) | |
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
