aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2018-02-06 15:39:58 -0800
committerLinus Torvalds <[email protected]>2018-02-06 18:32:46 -0800
commit1acd14bfe9f191dcd80df99f80ec3880a706801e (patch)
treee74a973cc4b70b31e59af71b6661a6926bdc5a0b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent002f6f40c8e10547c2d2bc0e96de6d94ca1aa4dc (diff)
rapidio: return an error code only as a constant in two functions
* Return an error code without storing it in an intermediate variable. * Delete the label "out" and local variable "rc" which became unnecessary with this refactoring. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Markus Elfring <[email protected]> Acked-by: Alexandre Bounine <[email protected]> Cc: Matt Porter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions