staging: rtl8192u: remove the if condition without effect
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Mon, 8 Nov 2021 04:11:22 +0000 (09:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:02:04 +0000 (10:02 +0100)
commitd8a5b29b3d75464f5f83ed1b29951483121e744d
treef2f4e042ce1442ca1807a0fe6f5311c5e531c552
parent01d80b6ed2e3dd534709856a1bc4a5c18672e47c
staging: rtl8192u: remove the if condition without effect

In function rtl8192_adapter_start priv->pFirmware->firmware_status
is assign to FW_STATUS_0_INIT just after assignment variable is
again get check for same value. Therefore if condition will be
always be true. So remove the if condition ,else if section and
else section which will never get execute.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YYijapuGOmObwM3S@Sauravs-MacBook-Air.local
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c