diff options
author | 2007-04-14 16:19:13 -0300 | |
---|---|---|
committer | 2007-04-27 15:45:37 -0300 | |
commit | d3df9c4fa13db14cb9f6cd4cf31bd2a61c0e9911 (patch) | |
tree | 156da6a84c479c45930b1d874294e097d42df558 /drivers/media | |
parent | V4L/DVB (5520): Add support for the extra keys in the black Technotrend 1500 IR (diff) | |
download | linux-d3df9c4fa13db14cb9f6cd4cf31bd2a61c0e9911.tar.gz linux-d3df9c4fa13db14cb9f6cd4cf31bd2a61c0e9911.tar.bz2 linux-d3df9c4fa13db14cb9f6cd4cf31bd2a61c0e9911.zip |
V4L/DVB (5521): Usb_get_dev were called twice. Removing the extra call.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-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, return -ENODEV; } - usb_get_dev(dev); - if ((usbvision = usbvision_alloc(dev)) == NULL) { err("%s: couldn't allocate USBVision struct", __FUNCTION__); return -ENOMEM; |