]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
rtmutex: Simplify remove_waiter()
authorThomas Gleixner <tglx@linutronix.de>
Sat, 7 Jun 2014 07:36:13 +0000 (09:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 21 Jun 2014 20:05:30 +0000 (22:05 +0200)
commit1ca7b86062ec8473d03c5cdfd336abc8b1c8098c
tree4d4fb16eebac3bac63a317a406e60f78469c3828
parent3eb65aeadf701976b084e9171e16bb7d1e83fbb0
rtmutex: Simplify remove_waiter()

Exit right away, when the removed waiter was not the top priority
waiter on the lock. Get rid of the extra indent level.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/locking/rtmutex.c