summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/lgdt3306a.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 12:07:52 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-03-03 10:34:14 -0300
commitc9897649db868dc7d42a92437534baa7bbe04044 (patch)
treec853ca7045b9274e2746605ca138865375f51579 /drivers/media/dvb-frontends/lgdt3306a.c
parentb4e43e959b45549a1d5341d89571fb4d8d03b736 (diff)
downloadop-kernel-dev-c9897649db868dc7d42a92437534baa7bbe04044.zip
op-kernel-dev-c9897649db868dc7d42a92437534baa7bbe04044.tar.gz
[media] lbdt3306a: remove uneeded braces
WARNING: braces {} are not necessary for any arm of this statement + if (ret == 0) { [...] + } else { [...] Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lgdt3306a.c')
-rw-r--r--drivers/media/dvb-frontends/lgdt3306a.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c
index 38b64b2..9c80d4c 100644
--- a/drivers/media/dvb-frontends/lgdt3306a.c
+++ b/drivers/media/dvb-frontends/lgdt3306a.c
@@ -1518,11 +1518,10 @@ static int lgdt3306a_read_status(struct dvb_frontend *fe, fe_status_t *status)
if (fe->ops.tuner_ops.get_rf_strength) {
ret = fe->ops.tuner_ops.get_rf_strength(fe, &strength);
- if (ret == 0) {
+ if (ret == 0)
dbg_info("strength=%d\n", strength);
- } else {
+ else
dbg_info("fe->ops.tuner_ops.get_rf_strength() failed\n");
- }
}
*status = 0;
OpenPOWER on IntegriCloud