summaryrefslogtreecommitdiff
path: root/crypto/cts.c
diff options
context:
space:
mode:
authorElad Wexler <elad.wexler@gmail.com>2013-09-14 15:02:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 15:53:23 (GMT)
commit684116caa44d1642fcbd4d1d5b9cb975572cfa0b (patch)
tree422fad1cdcf2f61bcbc7538fff531aee48fa3a8a /crypto/cts.c
parentbbf831dfe8538ef3797c9603b7897d4ad9ef9d4a (diff)
downloadlinux-fsl-qoriq-684116caa44d1642fcbd4d1d5b9cb975572cfa0b.tar.xz
Drivers: char: misc: 'misc_deregister()' changed the 'mutex_unlock' logic upon an error
This change improves code readability & is less error-prone. For example: case adding more error paths one should remember to call 'mutex_unlock' Signed-off-by: Elad Wexler <elad.wexler@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions