mtd: st_spi_fsm: remove unused field from struct stfsm
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 1 Oct 2019 10:05:10 +0000 (12:05 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 8 Oct 2019 17:22:03 +0000 (19:22 +0200)
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>
drivers/mtd/devices/st_spi_fsm.c

index f4d1667daaf99d2962b11cb42927745d1c3549c9..1888523d9745f0782ca5ef5a7a6b4980b4487677 100644 (file)
@@ -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;