diff options
author | 2014-05-09 16:54:28 +0200 | |
---|---|---|
committer | 2014-05-22 11:16:26 +0200 | |
commit | e78c7bca56dab5ce4f22694f99115ec07e4935f6 (patch) | |
tree | 10cc18b5bd26d8566a8c348345b6266bb8ee5194 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched: Fix exec_start/task_hot on migrated tasks (diff) | |
download | wireguard-linux-e78c7bca56dab5ce4f22694f99115ec07e4935f6.tar.xz wireguard-linux-e78c7bca56dab5ce4f22694f99115ec07e4935f6.zip |
sched: Simplify return logic in sched_copy_attr()
The logic in this function is a little contorted, clean it up:
* Rather than having chained gotos for the -EFBIG case, just
return -EFBIG directly.
* Now, the label 'out' is no longer needed, and 'ret' must be zero
zero by the time we fall through to this point, so just return 0.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/536CEC24.9080201@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions