diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-14 16:19:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-14 16:19:13 -0300 |
commit | ea4dd59f09799234a2b807e318e83059b24863a1 (patch) | |
tree | 2ffbd256ea193d6f44586c8c736b6241e20b9be5 /linux/drivers | |
parent | d7dada433352e2502e41a403546e376798a274f5 (diff) | |
download | mediapointer-dvb-s2-ea4dd59f09799234a2b807e318e83059b24863a1.tar.gz mediapointer-dvb-s2-ea4dd59f09799234a2b807e318e83059b24863a1.tar.bz2 |
usb_get_dev were called twice. Removing the extra call.
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/usbvision/usbvision-video.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-video.c b/linux/drivers/media/video/usbvision/usbvision-video.c index ca51f0670..6cce05962 100644 --- a/linux/drivers/media/video/usbvision/usbvision-video.c +++ b/linux/drivers/media/video/usbvision/usbvision-video.c @@ -1985,8 +1985,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; |