From: Michael Kerrisk Date: Fri, 9 May 2014 14:54:28 +0000 (+0200) Subject: sched: Simplify return logic in sched_copy_attr() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~33^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78c7bca56dab5ce4f22694f99115ec07e4935f6;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/536CEC24.9080201@gmail.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed