2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00

V4L/DVB (7805): saa7134: dvb_unregister_frontend() shouldn't be called, if not registered yet

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Mauro Carvalho Chehab 2008-04-30 18:13:05 -03:00
parent b538d28c2e
commit f50090fc94

View File

@ -1339,7 +1339,6 @@ static int dvb_init(struct saa7134_dev *dev)
dettach_frontend: dettach_frontend:
dvb_frontend_detach(dev->dvb.frontend); dvb_frontend_detach(dev->dvb.frontend);
dvb_unregister_frontend(dev->dvb.frontend);
dev->dvb.frontend = NULL; dev->dvb.frontend = NULL;
return -1; return -1;