Commit d3df9c4f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 28aedb8f
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment