summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 16:16:04 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 17:59:56 -0300
commit2f00fce46793bc5b523c64dcefd7bac13ab70b9c (patch)
tree0581687e0a9a4c30d83276374a8fb641d9fa4a0a /drivers/media/tuners
parent4539fc5c68d78f2df815f426f957528011b50a08 (diff)
downloadblackbird-op-linux-2f00fce46793bc5b523c64dcefd7bac13ab70b9c.tar.gz
blackbird-op-linux-2f00fce46793bc5b523c64dcefd7bac13ab70b9c.zip
[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: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r--drivers/media/tuners/mxl5005s.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/tuners/mxl5005s.c b/drivers/media/tuners/mxl5005s.c
index b473b76cb278..92a3be4fde87 100644
--- a/drivers/media/tuners/mxl5005s.c
+++ b/drivers/media/tuners/mxl5005s.c
@@ -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)
OpenPOWER on IntegriCloud