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:
Mauro Carvalho Chehab 2007-04-14 16:19:13 -03:00
parent 28aedb8fd9
commit d3df9c4fa1

View File

@ -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;