diff options
author | 2021-11-19 11:22:33 -0800 | |
---|---|---|
committer | 2021-11-29 12:47:07 +0200 | |
commit | 69831173fcbbfebb7aa2d76523deaf0b87b8eddd (patch) | |
tree | 299bd8326b738b8f1ccfa06eb826fba6c3469ab9 /net/core/devlink.c | |
parent | mwl8k: Use named struct for memcpy() region (diff) | |
download | wireguard-linux-69831173fcbbfebb7aa2d76523deaf0b87b8eddd.tar.xz wireguard-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 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions