]> git.baikalelectronics.ru Git - kernel.git/commit
futex: Remove pointless put_pi_state calls in requeue()
authorThomas Gleixner <tglx@linutronix.de>
Sat, 19 Dec 2015 20:07:40 +0000 (20:07 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 20 Dec 2015 11:43:25 +0000 (12:43 +0100)
commitab2e0c4fdc26df26daae96b3ca1de06d178a9ffc
tree639195158230f704f031af2ab219a41107384da9
parentc1c4b59cb706c2bb09b4d521861ba337dd35ae3c
futex: Remove pointless put_pi_state calls in requeue()

In the error handling cases we neither have pi_state nor a reference
to it. Remove the pointless code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Darren Hart <darren@dvhart.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Bhuvanesh_Surachari@mentor.com
Cc: Andy Lowe <Andy_Lowe@mentor.com>
Link: http://lkml.kernel.org/r/20151219200607.432780944@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c