]> git.baikalelectronics.ru Git - kernel.git/commit
futex: Remove unused variable 'vpid' in futex_proxy_trylock_atomic()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Sep 2021 20:47:06 +0000 (22:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 3 Sep 2021 21:00:22 +0000 (23:00 +0200)
commita65abdb5332a167c2de13b07ad7a8a50238846b0
treee15ec9c5640106f8897dcbd9a2840925cbc03db7
parent6f372ed95ee2e4ce1fe23a07b80ef1203e2c5a89
futex: Remove unused variable 'vpid' in futex_proxy_trylock_atomic()

The recent bug fix left the variable 'vpid' and an assignment to it around,
but the variable is otherwise unused.

clang dose not complain even with W=1, but gcc exposed this.

Fixes: 21858a2a8727 ("futex: Prevent inconsistent state and exit race")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c