summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-11-24 09:53:22 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-01 17:12:57 -0200
commit484ab62c5ee805c2bdc405a85a4e64da2722690f (patch)
tree65051192bb8c31f6a407deb30f40fd40c68c4a62
parentfaa3bd2e48e594e9475e92fb84bb6ebe6f62f23b (diff)
downloadlinux-484ab62c5ee805c2bdc405a85a4e64da2722690f.tar.gz
linux-484ab62c5ee805c2bdc405a85a4e64da2722690f.tar.bz2
linux-484ab62c5ee805c2bdc405a85a4e64da2722690f.zip
V4L/DVB (9748): em28xx: fix compile warning
Label fail_unreg is no longer used. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 90a11b5ac0b1..610f535a257c 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -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;