summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-30 15:13:05 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-30 15:13:05 -0300
commit6f18f2fe36b9ca2651088d1ee428764d4f8ce661 (patch)
tree6619c68b63b9d8e36185c19ea18806418a41152c /linux/drivers/media
parentac958e9cce48978cd215e7146fefacee8b3ae490 (diff)
downloadmediapointer-dvb-s2-6f18f2fe36b9ca2651088d1ee428764d4f8ce661.tar.gz
mediapointer-dvb-s2-6f18f2fe36b9ca2651088d1ee428764d4f8ce661.tar.bz2
saa7134: dvb_unregister_frontend() shouldn't be called, if not registered yet
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index 8938c7e54..2659d2a60 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -1346,7 +1346,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;