]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit940b762cc70e1014b25f41f758675df40b0300f5
treed1fc7bdc5bd20e29d215ae7c83a8fb9ed8b56427
parent25c82b55ab1acf95a284dd04f51c01ab87d893c4
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