mtd: st_spi_fsm: remove unused field from struct stfsm
PATCH v2 1/1 mtd: st_spi_fsm: remove unused field from struct stfsm
From: Bartosz Golaszewski <[email protected]>
The 'region' field in struct stfsm is unused and can be removed.
Signed-off-by Bartosz Golaszewski <[email protected]>
---
v1 -> v2:
- fixed the commit message: it now says field instead of variable
drivers/mtd/devices/st_spi_fsm.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/devices/st_spi_fsm.c +0 -1
@@ -255,7 +255,6 @@ struct stfsm_seq {struct stfsm {struct device *dev;void __iomem *base; -struct resource *region;struct mtd_info mtd;struct mutex lock;struct flash_info *info;
Signature · 1 line
2.23.0
Quoted 5 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
The 'region' field in struct stfsm is unused and can be removed.
Signed-off-by Bartosz Golaszewski <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel