aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-30 17:13:05 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-14 01:53:58 -0400
commitf50090fc947e82464b4a033c9eff1898cb0676b5 (patch)
treecf71ad1e1424791bf1a284764e5491db1b785568 /drivers/media/video/saa7134
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>
Diffstat (limited to 'drivers/media/video/saa7134')
-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)
1339 1339
1340dettach_frontend: 1340dettach_frontend:
1341 dvb_frontend_detach(dev->dvb.frontend); 1341 dvb_frontend_detach(dev->dvb.frontend);
1342 dvb_unregister_frontend(dev->dvb.frontend);
1343 dev->dvb.frontend = NULL; 1342 dev->dvb.frontend = NULL;
1344 1343
1345 return -1; 1344 return -1;