mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
28aedb8fd9
commit
d3df9c4fa1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user