summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-08-15 12:32:00 +0100
committerJakub Kicinski <kuba@kernel.org>2025-08-18 18:10:11 -0700
commitb181306e5e6877f4330081821437ae10ee4a10f6 (patch)
treee6abff4c1aae0671967f1eb6822ed21343845e2e /rust/helpers/helpers.c
parent49b97bc52affb8c800a3b266c8d64482f7b5caf2 (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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions