diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-14 15:19:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:45:37 -0400 |
commit | d3df9c4fa13db14cb9f6cd4cf31bd2a61c0e9911 (patch) | |
tree | 156da6a84c479c45930b1d874294e097d42df558 | |
parent | 28aedb8fd95b9a11cb9dc75d3be1f30227cb4385 (diff) |
V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index df030bf84c00..5fb89e407f08 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, | |||
1816 | return -ENODEV; | 1816 | return -ENODEV; |
1817 | } | 1817 | } |
1818 | 1818 | ||
1819 | usb_get_dev(dev); | ||
1820 | |||
1821 | if ((usbvision = usbvision_alloc(dev)) == NULL) { | 1819 | if ((usbvision = usbvision_alloc(dev)) == NULL) { |
1822 | err("%s: couldn't allocate USBVision struct", __FUNCTION__); | 1820 | err("%s: couldn't allocate USBVision struct", __FUNCTION__); |
1823 | return -ENOMEM; | 1821 | return -ENOMEM; |