aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2020-07-27 19:02:13 +0800
committerDavid S. Miller <[email protected]>2020-07-28 17:48:20 -0700
commit2f45f7a13e99ef2d05ef3afecaee30f314c9b8b2 (patch)
treeb08d8fcf8053b0237b761acc3908a6cf96942093 /tools/perf/scripts/python/check-perf-trace.py
parent1057d685c6eb4ef5dbc03f97ff25da8ca2418a86 (diff)
net: stmmac: Move device_can_wakeup() check earlier in set_wol
If !device_can_wakeup(), there's no need to futher check. And return -EOPNOTSUPP rather than -EINVAL if !device_can_wakeup(). Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions