summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-05-01 01:13:05 +0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-14 09:53:58 +0400
commitf50090fc947e82464b4a033c9eff1898cb0676b5 (patch)
treecf71ad1e1424791bf1a284764e5491db1b785568 /drivers/media/video
parentb538d28c2e326ed226096408dce4d9469d7ffa39 (diff)
downloadlinux-f50090fc947e82464b4a033c9eff1898cb0676b5.tar.xz
V4L/DVB (7805): saa7134: dvb_unregister_frontend() shouldn't be called, if not registered yet
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index 2a9aa726e984..469f93aac008 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -1339,7 +1339,6 @@ static int dvb_init(struct saa7134_dev *dev)
dettach_frontend:
dvb_frontend_detach(dev->dvb.frontend);
- dvb_unregister_frontend(dev->dvb.frontend);
dev->dvb.frontend = NULL;
return -1;