Commit 33628b6e authored by Kees Cook's avatar Kees Cook Committed by Greg Kroah-Hartman
Browse files

rtlwifi: rtl8192de: Style clean-ups



[ Upstream commit 69831173 ]

Clean up some style issues:
- Use ARRAY_SIZE() even though it's a u8 array.
- Remove redundant CHANNEL_MAX_NUMBER_2G define.
Additionally fix some dead code WARNs.

Acked-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Link: https://lore.kernel.org/lkml/57d0d1b6064342309f680f692192556c@realtek.com/


Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211119192233.1021063-1-keescook@chromium.org


Stable-dep-of: de4d4be4 ("wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 77942a02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment