aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drx39xyj/drxj.c
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2017-12-18 12:31:52 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-19 08:08:47 -0500
commit7369bbf262adbb35e9138ceec30cc301a09f1100 (patch)
tree8a511d2035f863661ccb60016cf78fd06712b422 /drivers/media/dvb-frontends/drx39xyj/drxj.c
parentmedia: ddbridge: move CI detach code to ddbridge-ci.c (diff)
downloadlinux-dev-7369bbf262adbb35e9138ceec30cc301a09f1100.tar.xz
linux-dev-7369bbf262adbb35e9138ceec30cc301a09f1100.zip
media: dvb-frontends: remove extraneous parens
Fixes 2 warnings from Clang about extra parentheses in a conditional, that might have been meant as assignment. Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drx39xyj/drxj.c')
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drxj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index 77d3a44177ba..2f928c4dac94 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -11078,7 +11078,7 @@ ctrl_power_mode(struct drx_demod_instance *demod, enum drx_power_mode *mode)
}
}
- if ((*mode == DRX_POWER_UP)) {
+ if (*mode == DRX_POWER_UP) {
/* Restore analog & pin configuration */
/* Initialize default AFE configuration for VSB */