From: Thomas Gleixner Date: Sat, 7 Jun 2014 10:10:36 +0000 (+0200) Subject: rtmutex: No need to keep task ref for lock owner check X-Git-Tag: cleanup-for-v3.18~138^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ffa5a5cd2fe792b6399c903d5172adf088d8ff7;p=pandora-kernel.git 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 Reviewed-by: Steven Rostedt Reviewed-by: Lai Jiangshan --- Reading git-diff-tree failed