Tag: 6ffdc7b95474d572f67b0c198cd7a08d8f5e5ff6

staging: fsl-mc: get rid of mutex_locked variables

Author: Cihangir Akturk <cakturk@gmail.com> 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 …

Continue reading