diff options
author | Yang Li <[email protected]> | 2021-05-18 09:59:59 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-06-15 16:39:55 +0300 |
commit | a99086057e031a88474a7432c7ed0800a3943e84 (patch) | |
tree | 46488fcedc3a013712e95122bd869b7e4248b664 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 03a1b938cf39469da4f27b48cb47fa7b3a2f440c (diff) |
rtlwifi: Remove redundant assignments to ul_enc_algo
Variable ul_enc_algo is being initialized with a value that is never
read, it is being set again in the following switch statements in
all of the case and default paths. Hence the unitialization is
redundant and can be removed.
Clean up clang warning:
drivers/net/wireless/realtek/rtlwifi/cam.c:170:6: warning: Value stored
to 'ul_enc_algo' during its initialization is never read
[clang-analyzer-deadcode.DeadStores]
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions