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

[media] mxl5005s: just return 0 instead of using a var

Instead of allocating a var to store 0 and just return it,
change the code to return 0 directly.
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 4539fc5c
......@@ -1692,7 +1692,6 @@ static u16 MXL5005_TunerConfig(struct dvb_frontend *fe,
)
{
struct mxl5005s_state *state = fe->tuner_priv;
u16 status = 0;
state->Mode = Mode;
state->IF_Mode = IF_mode;
......@@ -1715,7 +1714,7 @@ static u16 MXL5005_TunerConfig(struct dvb_frontend *fe,
/* Synthesizer LO frequency calculation */
MXL_SynthIFLO_Calc(fe);
return status;
return 0;
}
static void MXL_SynthIFLO_Calc(struct dvb_frontend *fe)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册