diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-06-07 12:10:36 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-06-21 22:05:30 +0200 |
commit | 2ffa5a5cd2fe792b6399c903d5172adf088d8ff7 (patch) | |
tree | b73baebd96860c39bda9cd8dd91b01bae2e06770 /kernel/timer.c | |
parent | 358c331f391f3e0432f4f96f25017d12ac8d10b1 (diff) |
rtmutex: No need to keep task ref for lock owner check
There is no point to keep the task ref across the check for lock
owner. Drop the ref before that, so the protection context is clear.
Found while documenting the chain walk.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions