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

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

parent 28aedb8f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;