kernel/futex: Move hb unlock out of unqueue_me_pi()
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 26 Feb 2021 17:50:28 +0000 (09:50 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Mar 2021 18:19:17 +0000 (19:19 +0100)
commita3f2428d2b9c9ca70f52818774a2f6e0e30a0f0b
tree27eeae2bf99d9819869dd9030f8cd0c9962f9051
parenta1565aa4699847febfdfd6af3bf06ca17a9e16af
kernel/futex: Move hb unlock out of unqueue_me_pi()

This improves the code readability, and the locking more obvious
as it becomes symmetric for the caller.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210226175029.50335-3-dave@stgolabs.net
kernel/futex.c