sched: Simplify return logic in sched_read_attr()
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 9 May 2014 14:54:33 +0000 (16:54 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 May 2014 09:16:27 +0000 (11:16 +0200)
commit22400674945c562cf3c176d6c4178cd545e2dec9
treeb4a2ee1a6165661e51b47aaed35b4acd3b4e784e
parente78c7bca56dab5ce4f22694f99115ec07e4935f6
sched: Simplify return logic in sched_read_attr()

Gotos are chained pointlessly here, and the 'out' label
can be dispensed with.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/536CEC29.9090503@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c