diff options
| author | Ping-Ke Shih <[email protected]> | 2024-09-13 00:28:14 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-09-13 05:31:56 +0000 |
| commit | 0b4d1ed30d8ddf0204afd2842a91c2113d997254 (patch) | |
| tree | fe57dfa0b0c6b358f952b4bebdafdaba2b6f7abe /drivers/pci/controller/pci-host-generic.c | |
| parent | staging: rtl8723bs: remove unused efuseValue from efuse_OneByteWrite() (diff) | |
| download | kernel-0b4d1ed30d8ddf0204afd2842a91c2113d997254.tar.gz kernel-0b4d1ed30d8ddf0204afd2842a91c2113d997254.zip | |
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 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
