aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-22 03:14:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-22 23:49:36 -0400
commit933045a221acab3b17f4e6e5c1c12d6bf87d68ec (patch)
tree6d55ba58125c922353efa589f6b988ea3737c0f1 /drivers
parent9c1f1f12472c5b9808e4465cdf882892b19f2f10 (diff)
staging: comedi: double unlock in usbduxsigma_attach()
There was a double unlock introduced in 60ff461067 ("staging: comedi: usbduxsigma: use attach_usb() hook"). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/usbduxsigma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c b/drivers/staging/comedi/drivers/usbduxsigma.c
index 8da8c1cbb60a..543e604791e2 100644
--- a/drivers/staging/comedi/drivers/usbduxsigma.c
+++ b/drivers/staging/comedi/drivers/usbduxsigma.c
@@ -2450,7 +2450,6 @@ static int usbduxsigma_attach(struct comedi_device *dev,
2450 if (index < 0) { 2450 if (index < 0) {
2451 dev_err(dev->class_dev, 2451 dev_err(dev->class_dev,
2452 "usbduxsigma: error: attach failed, dev not connected to the usb bus.\n"); 2452 "usbduxsigma: error: attach failed, dev not connected to the usb bus.\n");
2453 up(&start_stop_sem);
2454 ret = -ENODEV; 2453 ret = -ENODEV;
2455 } else 2454 } else
2456 ret = usbduxsigma_attach_common(dev, &usbduxsub[index], 2455 ret = usbduxsigma_attach_common(dev, &usbduxsub[index],