futex: Simplify handle_early_requeue_pi_wakeup()
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:29:17 +0000 (23:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 17:05:57 +0000 (19:05 +0200)
commit6231acbd0802e76580c71ceb52c09646d42170fb
tree12282e5a6d78c8e3b1819a65861dc56d1dcff3ca
parentd69cba5c719b0c551f6380ec5da4ed8c20a3815a
futex: Simplify handle_early_requeue_pi_wakeup()

Move the futex key match out of handle_early_requeue_pi_wakeup() which
allows to simplify that function. The upcoming state machine for
requeue_pi() will make that go away.

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.638938670@linutronix.de
kernel/futex.c