diff options
| author | Jiri Pirko <[email protected]> | 2017-02-09 14:39:00 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-10 11:38:09 -0500 |
| commit | 40c81b25b16cd871afe70630c131bd2544848d1f (patch) | |
| tree | 0ab1c7617292ca22d3d4f627a7ead0ccaa5922ce /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7215032ced14f9943c8b72b61f4ac52902002158 (diff) | |
sched: check negative err value to safe one level of indent
As it is more common, check err for !0. That allows to safe one level of
indentation and makes the code easier to read. Also, make 'next' variable
global in function as it is used twice.
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions