mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 09:49:58 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9c1f1f1247
commit
933045a221
@@ -2450,7 +2450,6 @@ static int usbduxsigma_attach(struct comedi_device *dev,
|
||||
if (index < 0) {
|
||||
dev_err(dev->class_dev,
|
||||
"usbduxsigma: error: attach failed, dev not connected to the usb bus.\n");
|
||||
up(&start_stop_sem);
|
||||
ret = -ENODEV;
|
||||
} else
|
||||
ret = usbduxsigma_attach_common(dev, &usbduxsub[index],
|
||||
|
||||
Reference in New Issue
Block a user