diff options
| author | Yang Li <[email protected]> | 2021-04-28 18:02:22 +0800 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2021-05-10 12:48:35 +0200 |
| commit | 063deb31ae902b510e57af17a45151baf5057a61 (patch) | |
| tree | c6bf269b686db9f21ca934204fa5b3d3de0e1cca /tools/perf/scripts/python | |
| parent | 9c5b19c2eea8cb8d5784dedce8cac07e9a20198e (diff) | |
mtd: tests: Remove redundant assignment to err
Variable 'err' is set to 0 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.
Cleans up the following clang-analyzer warning:
drivers/mtd/tests/torturetest.c:233:2: 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]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions