diff options
author | Colin Ian King <[email protected]> | 2022-07-04 22:53:25 +0100 |
---|---|---|
committer | akpm <[email protected]> | 2022-07-17 17:31:39 -0700 |
commit | 4a70ce5f93aaeb0aa81f29c4a3c70f39d8f21087 (patch) | |
tree | 493e6ffe299afa54b221c00bdfdd76d39c57a1f0 /scripts/gdb/linux/modules.py | |
parent | 6d529ea80b8a03401195506f45c052c4937545d5 (diff) |
lib/ts_bm.c: remove redundant store to variable consumed after addition
There is no need to store the result of the addition back to variable
consumed after the addition. The store is redundant, replace += with just
+
Cleans up clang scan build warning: lib/ts_bm.c:83:11: warning: Although
the value stored to 'consumed' is used in the enclosing expression, the
value is never actually read from 'consumed' [deadcode.DeadStores]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions