staging: rtl8723bs: remove temporary variable CrystalCap
authorColin Ian King <colin.king@canonical.com>
Sun, 23 Feb 2020 15:14:38 +0000 (15:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Feb 2020 18:20:49 +0000 (19:20 +0100)
commit5a436cb13476133a1d0a9b0258da1e982796ce99
treee1bdb7c575896a14d31d3b72a9d2848fcc5d23eb
parentdf08620eab3bbef69010bf2b6b7736b69732dc21
staging: rtl8723bs: remove temporary variable CrystalCap

Currently variable CrystalCap is being initialized with the value
0x20 that is never read so that is redundant and can be removed.
Clean up the code by removing the need for variable CrystalCap
since the calculation of the return value is relatively simple.

Addresses-Coverity: ("Unused Value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200223151438.415542-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/odm_CfoTracking.c