diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-27 10:58:02 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:17:14 -0500 |
commit | 465a9e3a2f494b0887db63b7b10bb9370145d9bc (patch) | |
tree | b59ef06504a0cb744d1684c8dda01c84b58d10f7 /drivers/media/dvb/frontends | |
parent | 187e7d3b9b4e0b6b1c171846592e679e58a84cd2 (diff) |
[media] af9013: Fix a compilation warning
drivers/media/dvb/frontends/af9013.c: In function ‘af9013_update_signal_strength.clone.0’:
drivers/media/dvb/frontends/af9013.c:967:6: warning: ‘ret’ may be used uninitialized in this function
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/af9013.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c index e2a95c07bab4..ce222055526d 100644 --- a/drivers/media/dvb/frontends/af9013.c +++ b/drivers/media/dvb/frontends/af9013.c | |||
@@ -964,7 +964,7 @@ error: | |||
964 | static int af9013_update_signal_strength(struct dvb_frontend *fe) | 964 | static int af9013_update_signal_strength(struct dvb_frontend *fe) |
965 | { | 965 | { |
966 | struct af9013_state *state = fe->demodulator_priv; | 966 | struct af9013_state *state = fe->demodulator_priv; |
967 | int ret; | 967 | int ret = 0; |
968 | u8 rf_gain, if_gain; | 968 | u8 rf_gain, if_gain; |
969 | int signal_strength; | 969 | int signal_strength; |
970 | 970 | ||