From: Thomas Gleixner Date: Tue, 10 Jun 2014 23:01:13 +0000 (+0200) Subject: rtmutex: Simplify and document try_to_take_rtmutex() X-Git-Tag: cleanup-for-v3.18~138^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=358c331f391f3e0432f4f96f25017d12ac8d10b1;p=pandora-kernel.git rtmutex: Simplify and document try_to_take_rtmutex() The current implementation of try_to_take_rtmutex() is correct, but requires more than a single brain twist to understand the clever encoded conditionals. Untangle it and document the cases proper. Looks less efficient at the first glance, but actually reduces the binary code size on x8664 by 80 bytes. Signed-off-by: Thomas Gleixner Reviewed-by: Steven Rostedt --- Reading git-diff-tree failed