staging: r8188eu: remove dead code for tx power tracking
authorMartin Kaiser <martin@kaiser.cx>
Fri, 4 Feb 2022 09:09:39 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:25:50 +0000 (15:25 +0100)
commit7728dc33f93e890017e1f6bce7ac5ec67d7c999a
treea64bd51620a7bf11aa9ed484882fdf16ecb93063
parent532382fe480d753ab63067b6c4a01b008c29fb41
staging: r8188eu: remove dead code for tx power tracking

The odm_TXPowerTrackingCallback_ThermalMeter_8188E contains code
for OFDM paths A and B. It seems that path B is not used, is2t is
always false. Remove resulting dead code.

Without the path B code, the ele_A and ele_C variables are set but
not used. They can be removed. With ele_A and ele_C gone, X and Y
are now set but no longer used. Remove them as well.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220204090941.309900-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c