diff options
author | Ido Schimmel <[email protected]> | 2016-06-20 23:04:03 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-21 05:02:49 -0400 |
commit | 423b937e7dde1291fc0e87bb7a382aafde9d712a (patch) | |
tree | b9693a034a9719dbbe8f1d126dd3650c45cc8e31 /tools/perf/scripts/python/futex-contention.py | |
parent | ddbe993dbe4d832a6ea31e4359150fbc5a4b93d4 (diff) |
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 <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions