From: Mauro Carvalho Chehab Date: Sat, 14 Apr 2007 19:19:13 +0000 (-0300) Subject: V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call. X-Git-Tag: v2.6.22-rc1~1118^2~34 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3df9c4fa13db14cb9f6cd4cf31bd2a61c0e9911;p=linux-2.6 V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index df030bf84c..5fb89e407f 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c @@ -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;