diff options
author | Ping-Ke Shih <[email protected]> | 2024-09-13 08:28:14 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-13 07:31:56 +0200 |
commit | 0b4d1ed30d8ddf0204afd2842a91c2113d997254 (patch) | |
tree | fe57dfa0b0c6b358f952b4bebdafdaba2b6f7abe /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
parent | aa947d717a498644b019591768be10a1aac713a9 (diff) |
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 <[email protected]>
Tested-by: Philipp Hortmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions