futex: Restructure futex_requeue()
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:29:12 +0000 (23:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 17:05:49 +0000 (19:05 +0200)
commit64b7b715f7f92ae3233446b4a4cdda3524fcd4b0
treefd6d7f5fe868802f0b19a42f3d6797222f62632d
parent59c7ecf1544e1841b5be8847e81bc9842f838e7e
futex: Restructure futex_requeue()

No point in taking two more 'requeue_pi' conditionals just to get to the
requeue. Same for the requeue_pi case just the other way round.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211305.468835790@linutronix.de
kernel/futex.c