提交 b5a91067 编写于 作者: M Mauro Carvalho Chehab

[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: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 2e1d5885
...@@ -1528,7 +1528,6 @@ static u32 MT2063_Tune(struct mt2063_state *state, u32 f_in) ...@@ -1528,7 +1528,6 @@ static u32 MT2063_Tune(struct mt2063_state *state, u32 f_in)
u32 LO2; /* 2nd LO register value */ u32 LO2; /* 2nd LO register value */
u32 Num2; /* Numerator for LO2 reg. value */ u32 Num2; /* Numerator for LO2 reg. value */
u32 ofLO1, ofLO2; /* last time's LO frequencies */ u32 ofLO1, ofLO2; /* last time's LO frequencies */
u32 ofin, ofout; /* last time's I/O frequencies */
u8 fiffc = 0x80; /* FIFF center freq from tuner */ u8 fiffc = 0x80; /* FIFF center freq from tuner */
u32 fiffof; /* Offset from FIFF center freq */ u32 fiffof; /* Offset from FIFF center freq */
const u8 LO1LK = 0x80; /* Mask for LO1 Lock bit */ 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,9 +1548,7 @@ static u32 MT2063_Tune(struct mt2063_state *state, u32 f_in)
* Save original LO1 and LO2 register values * Save original LO1 and LO2 register values
*/ */
ofLO1 = state->AS_Data.f_LO1; ofLO1 = state->AS_Data.f_LO1;
ofLO2 = state->AS_Data.f_LO2; ofLO2 = state->AS_Data.f_LO2;
ofin = state->AS_Data.f_in;
ofout = state->AS_Data.f_out;
/* /*
* Find and set RF Band setting * Find and set RF Band setting
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册