Re: [PATCH net-next] net: usb: replace unnecessary get_link functions with usbnet_get_link
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2026-01-25 09:09:59
Also in:
linux-usb
From: Peter Korsgaard <peter@korsgaard.com>
Date: 2026-01-25 09:09:59
Also in:
linux-usb
quoted
quoted
quoted
quoted
"Ethan" == Ethan Nelson-Moore [off-list ref] writes:
> 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 [off-list ref] Reviewed-by: Peter Korsgaard <peter@korsgaard.com> -- Bye, Peter Korsgaard