Commit f50090fc authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent b538d28c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment