rtlwifi: Convert the wake_match variable to local
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 4 Apr 2019 18:29:31 +0000 (13:29 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Apr 2019 11:15:45 +0000 (14:15 +0300)
commitddab2eee7949f94b8ecdc5c84ae238826142d35d
tree96a3c4e7139f960ed221c4b0fa4caab2239222b4
parent0961d9874a2e504ecaedf563bb3c73628a0a7088
rtlwifi: Convert the wake_match variable to local

In five of the drivers, the contents of bits 29-31 of one of the RX
descriptors is used to set bits in a variable that is used to save the
wakeup condition for output in a debugging statement. The resulting
variable is not used anywhere else even though it is stored in a struct
and could be available in other routines. This variable is changed to be
local.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c.rej [new file with mode: 0644]
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c
drivers/net/wireless/realtek/rtlwifi/wifi.h