]> git.karo-electronics.de Git - karo-tx-linux.git/commit
futex: Simplify return logic
authorThomas Gleixner <tglx@linutronix.de>
Wed, 15 Feb 2012 11:17:09 +0000 (12:17 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:23 +0000 (08:34 +0200)
commitd1e41587872c2b63bfcebcc677650d9438fbbd4c
tree09c7dee45fc5147039012f2fee9264481d783b71
parent4f88cc655d93896610745f5ab7f14db447a244de
futex: Simplify return logic

No need to assign ret in each case and break. Simply return the result
of the handler function directly.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Huang Shijie <b32955@freescale.com>
kernel/futex.c