aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv0367.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2012-06-14 12:58:14 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-21 16:57:22 -0400
commitdf1ec0272fd49aefaa4d3f80eee2d51d7c04ef02 (patch)
treea740ed7bfd794325775d9d8b7291a84e7af88ed7 /drivers/media/dvb/frontends/stv0367.c
parent3e9e0ca227ea905b0d07f777c5316f44638428bf (diff)
[media] stv0367: variable 'tps_rcvd' set but not used
Tested by compilation only. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stv0367.c')
-rw-r--r--drivers/media/dvb/frontends/stv0367.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stv0367.c b/drivers/media/dvb/frontends/stv0367.c
index fdd20c7737b5..2a8aaeb1112d 100644
--- a/drivers/media/dvb/frontends/stv0367.c
+++ b/drivers/media/dvb/frontends/stv0367.c
@@ -1584,7 +1584,7 @@ static int stv0367ter_algo(struct dvb_frontend *fe)
1584 struct stv0367ter_state *ter_state = state->ter_state; 1584 struct stv0367ter_state *ter_state = state->ter_state;
1585 int offset = 0, tempo = 0; 1585 int offset = 0, tempo = 0;
1586 u8 u_var; 1586 u8 u_var;
1587 u8 /*constell,*/ counter, tps_rcvd[2]; 1587 u8 /*constell,*/ counter;
1588 s8 step; 1588 s8 step;
1589 s32 timing_offset = 0; 1589 s32 timing_offset = 0;
1590 u32 trl_nomrate = 0, InternalFreq = 0, temp = 0; 1590 u32 trl_nomrate = 0, InternalFreq = 0, temp = 0;
@@ -1709,9 +1709,6 @@ static int stv0367ter_algo(struct dvb_frontend *fe)
1709 return 0; 1709 return 0;
1710 1710
1711 ter_state->state = FE_TER_LOCKOK; 1711 ter_state->state = FE_TER_LOCKOK;
1712 /* update results */
1713 tps_rcvd[0] = stv0367_readreg(state, R367TER_TPS_RCVD2);
1714 tps_rcvd[1] = stv0367_readreg(state, R367TER_TPS_RCVD3);
1715 1712
1716 ter_state->mode = stv0367_readbits(state, F367TER_SYR_MODE); 1713 ter_state->mode = stv0367_readbits(state, F367TER_SYR_MODE);
1717 ter_state->guard = stv0367_readbits(state, F367TER_SYR_GUARD); 1714 ter_state->guard = stv0367_readbits(state, F367TER_SYR_GUARD);