summaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-02-03 13:45:36 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-10 09:09:24 +0100
commit285b624ec7818a43b96568a45ed7844a78eccd97 (patch)
treef1eaf787a04d302cff9a4cdfa930b9924b49fba5 /kernel/futex.c
parent76bc0eca09e1f44f3c40cc4f69dbfe446458aaa1 (diff)
downloadlinux-stable-285b624ec7818a43b96568a45ed7844a78eccd97.tar.gz
linux-stable-285b624ec7818a43b96568a45ed7844a78eccd97.tar.bz2
linux-stable-285b624ec7818a43b96568a45ed7844a78eccd97.zip
rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
[ Upstream commit 2156ac1934166d6deb6cd0f6ffc4c1076ec63697 ] Nothing uses the argument. Remove it as preparation to use pi_state_update_owner(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: stable@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index 391a85dcd46c..40b9ba24bd9a 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -883,7 +883,7 @@ static void put_pi_state(struct futex_pi_state *pi_state)
list_del_init(&pi_state->list);
raw_spin_unlock_irq(&pi_state->owner->pi_lock);
- rt_mutex_proxy_unlock(&pi_state->pi_mutex, pi_state->owner);
+ rt_mutex_proxy_unlock(&pi_state->pi_mutex);
}
if (current->pi_state_cache)