From: Mauro Carvalho Chehab Date: Wed, 30 Apr 2008 21:13:05 +0000 (-0300) Subject: V4L/DVB (7805): saa7134: dvb_unregister_frontend() shouldn't be called, if not regist... X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f50090fc947e82464b4a033c9eff1898cb0676b5;p=linux-beck.git V4L/DVB (7805): saa7134: dvb_unregister_frontend() shouldn't be called, if not registered yet Signed-off-by: Mauro Carvalho Chehab --- 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) dettach_frontend: dvb_frontend_detach(dev->dvb.frontend); - dvb_unregister_frontend(dev->dvb.frontend); dev->dvb.frontend = NULL; return -1;