]> err.no Git - linux-2.6/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)
commit3a5c359a58c39801d838c508f127bdb228af28b0
treef5eb18d0547404627c65e81b7bcd25ec71198996
parentd274a4cee190c880ec25b60501efe50c4435b3d7
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