staging: r8188eu: remove dead code from rtl8188e_rf6052.c
authorMichael Straube <straube.linux@gmail.com>
Tue, 21 Sep 2021 19:46:56 +0000 (21:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Sep 2021 15:31:00 +0000 (17:31 +0200)
commitb6d11bc3ac6e5fee911886410479b57fb39eb35f
tree5e497e9a4166b952916d823f3f7bbeff7b969a2b
parent90602f96f1471b0072651cb771b73278846f40dd
staging: r8188eu: remove dead code from rtl8188e_rf6052.c

In this driver DynamicTxHighPowerLvl is set to TxHighPwrLevel_Normal
and never changed. In the file rtl8188e_rf6052.c there are some if
statements that check DynamicTxHighPowerLvl for other values than
TxHighPwrLevel_Normal. The code in the if blocks is never executed.
Remove the dead code.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210921194658.10654-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c