From: Bartosz Golaszewski Date: Tue, 1 Oct 2019 10:05:10 +0000 (+0200) Subject: mtd: st_spi_fsm: remove unused field from struct stfsm X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b34c095ca6091836c4da3856ed30c8690a2d1d3a;p=linux.git mtd: st_spi_fsm: remove unused field from struct stfsm The 'region' field in struct stfsm is unused and can be removed. Signed-off-by: Bartosz Golaszewski Signed-off-by: Miquel Raynal --- diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c index f4d1667daaf99..1888523d9745f 100644 --- a/drivers/mtd/devices/st_spi_fsm.c +++ b/drivers/mtd/devices/st_spi_fsm.c @@ -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;