diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-10-02 20:22:58 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-10-21 12:57:43 +0300 |
commit | 4c9b44e774025d9fd6f8384a7dcd6a6917043650 (patch) | |
tree | fdd11e7b6f8ca845c0b7f1e1c5c956ef1849a8a4 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7d189579a287d5c568db623c5fc2344cce98a887 (diff) | |
download | linux-4c9b44e774025d9fd6f8384a7dcd6a6917043650.tar.xz |
mtd: cfi_cmdset_0002: remove redundant assignment to variable ret
Variable ret is being assigned a value that is never read, the following
goto statement jumps to a statement that assigns ret a return from the
call to function do_write_oneword_once. The assignment is redundant
and can be removed.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20241002172258.958113-1-colin.i.king@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions