rtlwifi: rtl8188ee: remove redundant assignment to rtstatus
authorColin Ian King <colin.king@canonical.com>
Sat, 8 Jun 2019 10:58:00 +0000 (11:58 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:02:09 +0000 (08:02 +0300)
commit25a986e426b0958c2f3e2431e168f9d3b7b01062
treed1fc7bdc5bd20e29d215ae7c83a8fb9ed8b56427
parent9a1ace64ca3b713e1029fed83dc22d8740b20aba
rtlwifi: rtl8188ee: remove redundant assignment to rtstatus

Variable rtstatus is being initialized with a value that is never read
as rtstatus is being re-assigned a little later on. The assignment is
redundant and hence can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c