diff mbox

V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference"

Message ID 1269428277-6709-1-git-send-email-bjorn@mork.no (mailing list archive)
State Accepted
Headers show

Commit Message

Bjørn Mork March 24, 2010, 10:57 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c
index e48380c..95a463c 100644
--- a/drivers/media/dvb/ttpci/budget.c
+++ b/drivers/media/dvb/ttpci/budget.c
@@ -643,9 +643,6 @@  static void frontend_init(struct budget *budget)
 					&budget->i2c_adap,
 					&tt1600_isl6423_config);
 
-			} else {
-				dvb_frontend_detach(budget->dvb_frontend);
-				budget->dvb_frontend = NULL;
 			}
 		}
 		break;