summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorCihangir Akturk <cakturk@gmail.com>2016-04-09 21:45:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-29 17:55:54 -0700
commit6ffdc7b95474d572f67b0c198cd7a08d8f5e5ff6 (patch)
tree65cc53bbbb9a24144546bebb388b24322661ba06 /Documentation
parentc3f463484bdd0acd15abd5f92399041f79592d06 (diff)
staging: fsl-mc: get rid of mutex_locked variables
Remove mutex_locked variables which are used to determine whether mutex is locked, instead add another label to unlock mutex on premature exits due to an error. This patch also addresses the folowing warnings reported by coccinelle: drivers/staging/fsl-mc/bus/mc-allocator.c:237:1-7: preceding lock on line 204 drivers/staging/fsl-mc/bus/mc-allocator.c:89:1-7: preceding lock on line 57 drivers/staging/fsl-mc/bus/mc-allocator.c:157:1-7: preceding lock on line 124 Signed-off-by: Cihangir Akturk <cakturk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions