linux-stable/drivers/mtd/chips
Colin Ian King 2416a2e7be mtd: chips: remove redundant assignment to variable timeo
In two functions the variable timeo is being initialized with a value
that is never read, it is being re-assigned later on. The initializations
are redundant and can be removed.

Cleans up clang scan build warning:
warning: Value stored to 'timeo' during its initialization is never
read [deadcode.DeadStores]

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/20240215140106.2062858-1-colin.i.king@gmail.com
2024-02-26 11:26:28 +01: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
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: chips: remove redundant assignment to variable timeo 2024-02-26 11:26:28 +01:00
cfi_cmdset_0020.c mtd: chips: Use SPDX license headers 2023-06-09 17:27:11 +02:00
cfi_probe.c mtd: chips: Use SPDX license headers 2023-06-09 17:27:11 +02:00
cfi_util.c mtd: chips: Use SPDX license headers 2023-06-09 17:27:11 +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
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