rtlwifi: rtl8192se: remove redundant initialization of variable rtstatus
authorColin Ian King <colin.king@canonical.com>
Thu, 28 Jan 2021 17:10:48 +0000 (17:10 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Feb 2021 10:39:07 +0000 (12:39 +0200)
commit711fa16f1dfe1a521dff48f49a95504eeafffa66
treeb87421de98290b15bcdaec5298b67d76d6de6fdf
parentca04217add8e6c9de96ffb32c4acc8da3fde890f
rtlwifi: rtl8192se: remove redundant initialization of variable rtstatus

The variable rtstatu is being initialized with a value that is never
read and it is being updated later with a new value.  The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210128171048.644669-1-colin.king@canonical.com
drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c