V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call.
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 14 Apr 2007 19:19:13 +0000 (16:19 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:37 +0000 (15:45 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/usbvision/usbvision-video.c

index df030bf..5fb89e4 100644 (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;