futex: Simplify return logic
authorThomas Gleixner <tglx@linutronix.de>
Wed, 15 Feb 2012 11:17:09 +0000 (12:17 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 15 Feb 2012 11:19:13 +0000 (12:19 +0100)
commit81b40539e748b108d143a5e38526ab00a6a784b6
tree7e63d9d2e0021d6631301f9762b31ed99f05c40f
parent59263b513c11398cd66a52d4c5b2b118ce1e0359
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>
kernel/futex.c