aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-30 18:13:05 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-14 02:53:58 -0300
commitf50090fc947e82464b4a033c9eff1898cb0676b5 (patch)
treecf71ad1e1424791bf1a284764e5491db1b785568
parentb538d28c2e326ed226096408dce4d9469d7ffa39 (diff)
V4L/DVB (7805): saa7134: dvb_unregister_frontend() shouldn't be called, if not registered yet
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-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 2a9aa726e98..469f93aac00 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;