]> err.no Git - linux-2.6/commitdiff
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 df030bf84c004c4eba2f9aff897e518845373a4d..5fb89e407f088249c6e4470ec2b683e77a4d9fd8 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;