V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Родитель
28aedb8fd9
Коммит
d3df9c4fa1
|
@ -1816,8 +1816,6 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
usb_get_dev(dev);
|
||||
|
||||
if ((usbvision = usbvision_alloc(dev)) == NULL) {
|
||||
err("%s: couldn't allocate USBVision struct", __FUNCTION__);
|
||||
return -ENOMEM;
|
||||
|
|
Загрузка…
Ссылка в новой задаче