media: dvb-frontends: Fix self assign warning
authorStricted <info@stricted.net>
Sat, 19 Jun 2021 23:13:05 +0000 (23:13 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:35:25 +0000 (13:35 -0500)
Change-Id: Ie343bf04cdc1843395663d1ac5a09cd3a49a43ca

drivers/media/dvb-frontends/dib7000p.c
drivers/media/dvb-frontends/drxd_hard.c
drivers/media/dvb-frontends/stb0899_algo.c
drivers/media/dvb-frontends/stv0367.c
drivers/media/dvb-frontends/tda18271c2dd.c

index b861d4437f2aabb13a394259a5ec7d2613d0274f..206f1014779cf202231a40803a5e1274aa2a533c 100644 (file)
@@ -1855,8 +1855,6 @@ static u32 dib7000p_get_time_us(struct dvb_frontend *demod)
                break;
        }
 
-       interleaving = interleaving;
-
        denom = bits_per_symbol * rate_num * fft_div * 384;
 
        /* If calculus gets wrong, wait for 1s for the next stats */
index dc19ca04c097873bfc7e32c0c91d79678b0d2aa8..07530d3ba6f482818f0fa6cc1bbd7af88ad1074a 100644 (file)
@@ -2140,7 +2140,7 @@ static int DRX_Start(struct drxd_state *state, s32 off)
                        }
                        break;
                }
-               status = status;
+
                if (status < 0)
                        break;
 
@@ -2251,7 +2251,7 @@ static int DRX_Start(struct drxd_state *state, s32 off)
                        break;
 
                }
-               status = status;
+
                if (status < 0)
                        break;
 
@@ -2317,7 +2317,7 @@ static int DRX_Start(struct drxd_state *state, s32 off)
                        }
                        break;
                }
-               status = status;
+
                if (status < 0)
                        break;
 
index 3012f196e9bd91dd2fa60bdab2866cf784e441e7..14aab2285ecd2f55c0ca5ba96d1de543db80e83e 100644 (file)
@@ -926,7 +926,6 @@ static void stb0899_dvbs2_set_btr_loopbw(struct stb0899_state *state)
                wn = (2 * (loopbw_percent * 1000) * 40 * zeta) /wn;  /*wn =wn 10^-8*/
 
                k_indirect = (wn * wn) / K;
-               k_indirect = k_indirect;          /*kindirect = kindirect 10^-6*/
                k_direct   = (2 * wn * zeta) / K;       /*kDirect = kDirect 10^-2*/
                k_direct  *= 100;
 
index 94cec81d0a5c7514ea17df15d8b392eb496dba2a..81e70c01b5686b6a5271ac676c970dce080904c5 100644 (file)
@@ -2132,7 +2132,6 @@ static int stv0367ter_read_ber(struct dvb_frontend *fe, u32 *ber)
        } else if (abc == 0x7) {
                if (Errors <= 4) {
                        temporary = (Errors * 1000000000) / (8 * (1 << 14));
-                       temporary =  temporary;
                } else if (Errors <= 42) {
                        temporary = (Errors * 100000000) / (8 * (1 << 14));
                        temporary = temporary * 10;
index bc247f9b553a3a659c74800db0460fe56a5bd907..cf432e67c813a552178895937dae4b7a7de29448 100644 (file)
@@ -678,7 +678,6 @@ static int PowerScan(struct tda_state *state,
                        Count = 200000;
                        wait = true;
                }
-               status = status;
                if (status < 0)
                        break;
                if (CID_Gain >= CID_Target) {