mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 17:28:56 +00: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:
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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user