Browse Source

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

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab 18 years ago
parent
commit
d3df9c4fa1
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/media/video/usbvision/usbvision-video.c

+ 0 - 2
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;