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>
This commit is contained in:
parent
12081a25a6
commit
7369bbf262
|
@ -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 */
|
||||
|
|
|
@ -6062,7 +6062,7 @@ static int init_drxk(struct drxk_state *state)
|
|||
u16 driver_version;
|
||||
|
||||
dprintk(1, "\n");
|
||||
if ((state->m_drxk_state == DRXK_UNINITIALIZED)) {
|
||||
if (state->m_drxk_state == DRXK_UNINITIALIZED) {
|
||||
drxk_i2c_lock(state);
|
||||
status = power_up_device(state);
|
||||
if (status < 0)
|
||||
|
|
Loading…
Reference in New Issue