From: Bruno Martins Date: Sun, 22 Oct 2023 16:55:26 +0000 (+0100) Subject: rtl88x2CS: Fix self-assign compilation error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c444761c145ef630d854ab0aa31f25949a2fe299;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_rtl8822cs.git rtl88x2CS: Fix self-assign compilation error Change-Id: I686a99d8b15d7ced2fb5ad102aac891ac20f6591 --- diff --git a/rtl88x2CS/hal/phydm/phydm_math_lib.c b/rtl88x2CS/hal/phydm/phydm_math_lib.c index 90e0868..2f91c6c 100644 --- a/rtl88x2CS/hal/phydm/phydm_math_lib.c +++ b/rtl88x2CS/hal/phydm/phydm_math_lib.c @@ -179,7 +179,6 @@ u32 odm_convert_to_db(u64 value) } else { if (db_invert_table[i][j] - value > value - db_invert_table[i][j - 1]) { - i = i; j = j - 1; } }