summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-11-30 12:42:21 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 00:29:39 +0400
commitd6610a502738e23aab5418e82c024be201e13f02 (patch)
tree7943e774152cce493b4514cc7697a56ec108b1de /scripts
parent2d2c880f8c16f4047cb642a5843ca6fa56f0d2a6 (diff)
downloadlinux-d6610a502738e23aab5418e82c024be201e13f02.tar.xz
Staging: comedi: unlock on error in usbdux_ao_inttrig()
If we had an invalid trignum (anything other than zero is invalid) then we returned without unlocking. I've modified this function to just have one return point. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions