staging: rtl8192e: Remove second initialization of bActuallySet

Remove second initialization of bActuallySet to shorten code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/ebf51fbd56bad4f8fd7fb51fe031f376c3ab6d2c.1681627603.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Philipp Hortmann 2023-04-16 09:19:58 +02:00 committed by Greg Kroah-Hartman
parent b0e60e96af
commit bfc1bb7866
1 changed files with 0 additions and 2 deletions

View File

@ -1539,8 +1539,6 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data)
enum rt_rf_power_state rf_power_state_to_set;
bool bActuallySet = false;
bActuallySet = false;
if ((priv->up_first_time == 1) || (priv->being_init_adapter))
return;