diff options
author | Kees Cook <keescook@chromium.org> | 2021-11-19 20:22:33 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-11-29 11:47:07 +0100 |
commit | 69831173fcbbfebb7aa2d76523deaf0b87b8eddd (patch) | |
tree | 299bd8326b738b8f1ccfa06eb826fba6c3469ab9 /drivers/net/wireless/marvell/mwifiex/main.h | |
parent | mwl8k: Use named struct for memcpy() region (diff) | |
download | linux-69831173fcbbfebb7aa2d76523deaf0b87b8eddd.tar.xz linux-69831173fcbbfebb7aa2d76523deaf0b87b8eddd.zip |
rtlwifi: rtl8192de: Style clean-ups
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: Ping-Ke Shih <pkshih@realtek.com>
Link: https://lore.kernel.org/lkml/57d0d1b6064342309f680f692192556c@realtek.com/
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211119192233.1021063-1-keescook@chromium.org
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/main.h')
0 files changed, 0 insertions, 0 deletions