diff mbox

[7/8,media] af9013: Fix a compilation warning

Message ID 20101227142243.1a8169ae@gaivota (mailing list archive)
State Accepted
Headers show

Commit Message

Mauro Carvalho Chehab Dec. 27, 2010, 4:22 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c
index e2a95c0..ce22205 100644
--- a/drivers/media/dvb/frontends/af9013.c
+++ b/drivers/media/dvb/frontends/af9013.c
@@ -964,7 +964,7 @@  error:
 static int af9013_update_signal_strength(struct dvb_frontend *fe)
 {
 	struct af9013_state *state = fe->demodulator_priv;
-	int ret;
+	int ret = 0;
 	u8 rf_gain, if_gain;
 	int signal_strength;