提交 d3df9c4f 编写于 作者: M Mauro Carvalho Chehab

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

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 28aedb8f
...@@ -1816,8 +1816,6 @@ static int __devinit usbvision_probe(struct usb_interface *intf, ...@@ -1816,8 +1816,6 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
return -ENODEV; return -ENODEV;
} }
usb_get_dev(dev);
if ((usbvision = usbvision_alloc(dev)) == NULL) { if ((usbvision = usbvision_alloc(dev)) == NULL) {
err("%s: couldn't allocate USBVision struct", __FUNCTION__); err("%s: couldn't allocate USBVision struct", __FUNCTION__);
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册