diff options
author | Yang Li <[email protected]> | 2021-04-29 18:47:10 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-06-15 13:10:16 +0300 |
commit | 7557dfde1bd1251793fade20a52014f1105c1012 (patch) | |
tree | 905b41000e289cb0f7ee4a7edfb150bd6cd9110f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | f30282129a4d47bf44805c712be1ac4f89eb8783 (diff) |
ssb: Remove redundant assignment to err
Variable 'err' is set to zero but this value is never read as it is
overwritten with a new value later on, hence it is a redundant
assignment and can be removed.
Clean up the following clang-analyzer warning:
drivers/ssb/main.c:1306:3: warning: Value stored to 'err' is never read
[clang-analyzer-deadcode.DeadStores]
drivers/ssb/main.c:1312:3: warning: Value stored to 'err' is never read
[clang-analyzer-deadcode.DeadStores]
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Acked-by: Michael Büsch <[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