summaryrefslogtreecommitdiffstats
path: root/include/linux/rtmutex.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2021-03-26 16:29:30 +0100
committerIngo Molnar <mingo@kernel.org>2021-03-29 15:57:02 +0200
commitc15380b72d7ae821ee090ba5a56fc6310828dbda (patch)
tree7ae984ff2e6d8d2e5893eef5ab669a62618f605e /include/linux/rtmutex.h
parentfeecb81732d8f271440d907beb082425e109f877 (diff)
downloadlinux-c15380b72d7ae821ee090ba5a56fc6310828dbda.tar.gz
linux-c15380b72d7ae821ee090ba5a56fc6310828dbda.tar.bz2
linux-c15380b72d7ae821ee090ba5a56fc6310828dbda.zip
locking/rtmutex: Remove rt_mutex_timed_lock()
rt_mutex_timed_lock() has no callers since: c051b21f71d1f ("rtmutex: Confine deadlock logic to futex") Remove it. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20210326153943.061103415@linutronix.de
Diffstat (limited to 'include/linux/rtmutex.h')
-rw-r--r--include/linux/rtmutex.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
index 6fd615a0eea9..32f4a3538c3c 100644
--- a/include/linux/rtmutex.h
+++ b/include/linux/rtmutex.h
@@ -115,9 +115,6 @@ extern void rt_mutex_lock(struct rt_mutex *lock);
#endif
extern int rt_mutex_lock_interruptible(struct rt_mutex *lock);
-extern int rt_mutex_timed_lock(struct rt_mutex *lock,
- struct hrtimer_sleeper *timeout);
-
extern int rt_mutex_trylock(struct rt_mutex *lock);
extern void rt_mutex_unlock(struct rt_mutex *lock);