futex: Remove {get,drop}_futex_key_refs()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 4 Mar 2020 12:24:24 +0000 (13:24 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 6 Mar 2020 10:06:19 +0000 (11:06 +0100)
commit4b39f99c222a2aff6a52fddfa6d8d4aef1771737
tree19083e0ff57219ec43e4f90c78d405447e5d8b31
parent222993395ed38f3751287f4bd82ef46b3eb3a66d
futex: Remove {get,drop}_futex_key_refs()

Now that {get,drop}_futex_key_refs() have become a glorified NOP,
remove them entirely.

The only thing get_futex_key_refs() is still doing is an smp_mb(), and
now that we don't need to (ab)use existing atomic ops to obtain them,
we can place it explicitly where we need it.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
kernel/futex.c