summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-10-01 12:05:10 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-10-08 19:22:03 +0200
commitb34c095ca6091836c4da3856ed30c8690a2d1d3a (patch)
treeaf232e0804e3435cb1e8e102b1228c31325fdada
parent717bc8a6b4399f3ef907e92a01914fbae0465fd6 (diff)
downloadtalos-op-linux-b34c095ca6091836c4da3856ed30c8690a2d1d3a.tar.gz
talos-op-linux-b34c095ca6091836c4da3856ed30c8690a2d1d3a.zip
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>
-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;
OpenPOWER on IntegriCloud