V4L/DVB (9748): em28xx: fix compile warning
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 24 Nov 2008 12:53:22 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Dec 2008 19:12:57 +0000 (17:12 -0200)
Label fail_unreg is no longer used.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-video.c

index 90a11b5ac0b10af738bf69acb87faae78e7e3f25..610f535a257cd3c47b40d80484ad952177aaec38 100644 (file)
@@ -2105,8 +2105,6 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev,
 
        return 0;
 
-fail_unreg:
-       em28xx_release_resources(dev);
 fail_reg_devices:
        mutex_unlock(&dev->lock);
        return retval;