Skip to content

Commit

Permalink
V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call.
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Apr 27, 2007
1 parent 28aedb8 commit d3df9c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/usbvision/usbvision-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d3df9c4

Please sign in to comment.