aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-22 16:07:17 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-04 19:48:58 -0500
commitb5a910679b2abfa12a5e70c236f4205c5e773c11 (patch)
tree61b1e19c808d2383cc912b19600a8f06a9b2d911 /drivers/media/common
parent2e1d5885f4964e949eb9a4c1ecf297c297140134 (diff)
[media] mt2063: Remove two unused temporary vars
mt2063.c:1531:12: warning: variable 'ofout' set but not used [-Wunused-but-set-variable] mt2063.c:1531:6: warning: variable 'ofin' set but not used [-Wunused-but-set-variable] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/tuners/mt2063.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/common/tuners/mt2063.c b/drivers/media/common/tuners/mt2063.c
index b72105d3305..92653a9ff3b 100644
--- a/drivers/media/common/tuners/mt2063.c
+++ b/drivers/media/common/tuners/mt2063.c
@@ -1528,7 +1528,6 @@ static u32 MT2063_Tune(struct mt2063_state *state, u32 f_in)
1528 u32 LO2; /* 2nd LO register value */ 1528 u32 LO2; /* 2nd LO register value */
1529 u32 Num2; /* Numerator for LO2 reg. value */ 1529 u32 Num2; /* Numerator for LO2 reg. value */
1530 u32 ofLO1, ofLO2; /* last time's LO frequencies */ 1530 u32 ofLO1, ofLO2; /* last time's LO frequencies */
1531 u32 ofin, ofout; /* last time's I/O frequencies */
1532 u8 fiffc = 0x80; /* FIFF center freq from tuner */ 1531 u8 fiffc = 0x80; /* FIFF center freq from tuner */
1533 u32 fiffof; /* Offset from FIFF center freq */ 1532 u32 fiffof; /* Offset from FIFF center freq */
1534 const u8 LO1LK = 0x80; /* Mask for LO1 Lock bit */ 1533 const u8 LO1LK = 0x80; /* Mask for LO1 Lock bit */
@@ -1549,9 +1548,7 @@ static u32 MT2063_Tune(struct mt2063_state *state, u32 f_in)
1549 * Save original LO1 and LO2 register values 1548 * Save original LO1 and LO2 register values
1550 */ 1549 */
1551 ofLO1 = state->AS_Data.f_LO1; 1550 ofLO1 = state->AS_Data.f_LO1;
1552 ofLO2 = state->AS_Data.f_LO2; 1551 ofLO2 = state->AS_Data.f_LO2;
1553 ofin = state->AS_Data.f_in;
1554 ofout = state->AS_Data.f_out;
1555 1552
1556 /* 1553 /*
1557 * Find and set RF Band setting 1554 * Find and set RF Band setting