summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2024-09-13 03:28:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-13 08:31:56 +0300
commit0b4d1ed30d8ddf0204afd2842a91c2113d997254 (patch)
treefe57dfa0b0c6b358f952b4bebdafdaba2b6f7abe /rust/helpers/build_bug.c
parentaa947d717a498644b019591768be10a1aac713a9 (diff)
downloadlinux-0b4d1ed30d8ddf0204afd2842a91c2113d997254.tar.xz
staging: rtl8723bs: remove unused cnt from recv_func()
The 'cnt' is used to show how many pending frames are processed, and the debug code has been removed, so removing 'cnt' is safe. Otherwise, clang warns: core/rtw_recv.c:2030:7: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 2030 | int cnt = 0; | ^ Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240913002815.5149-4-pkshih@realtek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions