summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-06-21 00:04:03 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-21 12:02:49 +0300
commit423b937e7dde1291fc0e87bb7a382aafde9d712a (patch)
treeb9693a034a9719dbbe8f1d126dd3650c45cc8e31 /tools/perf/scripts/python/sched-migration.py
parentddbe993dbe4d832a6ea31e4359150fbc5a4b93d4 (diff)
downloadlinux-423b937e7dde1291fc0e87bb7a382aafde9d712a.tar.xz
mlxsw: spectrum: Use WARN_ON() return value
Instead of checking for a condition and then issue the warning, just do it in one go 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