[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191001100510.13962-1-brgl@bgdev.pl>
Date: Tue, 1 Oct 2019 12:05:10 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bgolaszewski@...libre.com>
Subject: [PATCH v2] mtd: st_spi_fsm: remove unused field from struct stfsm
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
The 'region' field in struct stfsm is unused and can be removed.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
---
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(-)
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;
--
2.23.0
Powered by blists - more mailing lists