]> 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)
commit21342ce886aca9d42820291f3b494af8db6256e8
treee15ec9c5640106f8897dcbd9a2840925cbc03db7
parentecd1542893f56b78c0427a4c9d9e1b496ac4da1c
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: f951db7b76b2 ("futex: Prevent inconsistent state and exit race")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c