futex: Cleanup generic SMP variant of arch_futex_atomic_op_inuser()
authorVasily Averin <vvs@virtuozzo.com>
Tue, 16 Jul 2019 06:22:03 +0000 (09:22 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 Jul 2019 09:20:10 +0000 (11:20 +0200)
commitf9adc23ee91e6f561bb70c6147d8d45bd164d62f
treef6868fddc5bfe4d4464cb09934f6b2bf1ab2a8b7
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
futex: Cleanup generic SMP variant of arch_futex_atomic_op_inuser()

The generic SMP variant of arch_futex_atomic_op_inuser() returns always
-ENOSYS so the switch case and surrounding code are pointless. Remove it
and just return -ENOSYS.

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/12bdaca8-99eb-e576-f842-5970ab1d6a92@virtuozzo.com
include/asm-generic/futex.h