]> git.baikalelectronics.ru Git - kernel.git/commit
sched: cleanup: remove unnecessary gotos
authorAndi Kleen <ak@suse.de>
Mon, 15 Oct 2007 15:00:14 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:14 +0000 (17:00 +0200)
commit007404a0558eda37b1eb6f390c0906efc56d8955
treef5eb18d0547404627c65e81b7bcd25ec71198996
parentfe4b43e83b016e87fcc936f723b6b8927643a3dc
sched: cleanup: remove unnecessary gotos

Replace loops implemented with gotos with real loops.
Replace err = ...; goto x; x: return err; with return ...;

No functional changes.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c