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
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue