summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-10-01 13:05:10 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-10-08 20:22:03 +0300
commitb34c095ca6091836c4da3856ed30c8690a2d1d3a (patch)
treeaf232e0804e3435cb1e8e102b1228c31325fdada /drivers/mtd/devices
parent717bc8a6b4399f3ef907e92a01914fbae0465fd6 (diff)
downloadlinux-b34c095ca6091836c4da3856ed30c8690a2d1d3a.tar.xz
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 <bgolaszewski@baylibre.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r--drivers/mtd/devices/st_spi_fsm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c
index f4d1667daaf9..1888523d9745 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;