summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-06-21 00:03:59 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-21 12:02:48 +0300
commit80bedf1a62d65fb79eaaf030e75174886f1a794c (patch)
tree2061fa2e8e337f5a49bd873f3ea79072e43e8b06 /tools/perf/scripts/python/sched-migration.py
parent527f227334eb82b9f1ffe8a399d56ecf9ae8ebaf (diff)
downloadlinux-80bedf1a62d65fb79eaaf030e75174886f1a794c.tar.xz
mlxsw: spectrum: Use notifier_from_errno() in notifier block
Instead of checking the error value and returning NOTIFY_BAD, just use notifier_from_errno() and simplify the code. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions