linux/drivers/mtd/chips
Colin Ian King 4c9b44e774 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
2024-10-21 11:57:43 +02:00
..
cfi_cmdset_0001.c mtd: cfi_cmdset_0001: Byte swap OTP info 2023-10-27 19:45:11 +02:00
cfi_cmdset_0002.c mtd: cfi_cmdset_0002: remove redundant assignment to variable ret 2024-10-21 11:57:43 +02:00
cfi_cmdset_0020.c mtd: add missing MODULE_DESCRIPTION() macros 2024-07-01 11:56:28 +02:00
cfi_probe.c mtd: chips: Use SPDX license headers 2023-06-09 17:27:11 +02:00
cfi_util.c mtd: add missing MODULE_DESCRIPTION() macros 2024-07-01 11:56:28 +02:00
chipreg.c mtd: Convert list_for_each to entry variant 2021-06-11 21:05:06 +02:00
fwh_lock.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gen_probe.c mtd: chips: Use SPDX license headers 2023-06-09 17:27:11 +02:00
jedec_probe.c mtd: chips: Use SPDX license headers 2023-06-09 17:27:11 +02:00
Kconfig mtd: fixup CFI on ixp4xx 2021-10-15 12:27:10 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
map_absent.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
map_ram.c mtd: map_ram: prevent use of point and unpoint when NO_XIP is set 2023-09-22 16:33:34 +02:00
map_rom.c mtd: chips: Use SPDX license headers 2023-06-09 17:27:11 +02:00