diff options
| author | 2025-08-15 12:32:00 +0100 | |
|---|---|---|
| committer | 2025-08-18 18:10:11 -0700 | |
| commit | b181306e5e6877f4330081821437ae10ee4a10f6 (patch) | |
| tree | e6abff4c1aae0671967f1eb6822ed21343845e2e /scripts/Makefile.thinlto | |
| parent | net: stmmac: remove write-only mac->pmt (diff) | |
net: stmmac: remove redundant WoL option validation
The core ethtool API validates the WoL options passed from userspace
against the support which the driver reports from its get_wol() method,
returning EINVAL if an unsupported mode is requested.
Therefore, there is no need for stmmac to implement its own validation.
Remove this unnecessary code.
See ethnl_set_wol() in net/ethtool/wol.c and ethtool_set_wol() in
net/ethtool/ioctl.c.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1umsfA-008vKW-H1@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
