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-Tag: v2.6.26-rc3~62^2~65 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f50090fc947e82464b4a033c9eff1898cb0676b5;p=linux-2.6 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 2a9aa726e9..469f93aac0 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;