media: dvb-frontends: Remove extra parentheses
authorStricted <info@stricted.net>
Wed, 23 Jun 2021 22:14:25 +0000 (22:14 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:35:25 +0000 (13:35 -0500)
Change-Id: I43119a75f3cb9d14e052c26e249d3215e60add99

drivers/media/dvb-frontends/drx39xyj/drxj.c
drivers/media/dvb-frontends/drxk_hard.c

index bd6d2ee0f7c9dc1ca23fe0089c9b5a49bdbf06e2..6197094ddff0d493f8831e8872e0363d8f6ed8ed 100644 (file)
@@ -11071,7 +11071,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 configuartion */
 
                /* Initialize default AFE configuartion for VSB */
index c595adc61c6f428b15093d5c634ca82b9a3c216f..3bcb77e31bf984a9fee15cd5cdf6ccca78fcc3d4 100644 (file)
@@ -6059,7 +6059,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)