public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] MTD: remove mtd_info->bank_size
@ 2006-04-23 19:35 Martin Waitz
  2006-04-24  7:25 ` Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Waitz @ 2006-04-23 19:35 UTC (permalink / raw)
  To: linux-mtd

According to the comment the variable should go away in 2.5.
There are no in-tree users of this variable left.

Signed-off-by: Martin Waitz <tali@admingilde.org>

---

 drivers/mtd/mtdpart.c   |    1 -
 include/linux/mtd/mtd.h |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)

e973bcb6279c0d772afe4e969a3323265dcb0e00
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index 9939591..41cbe11 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -404,7 +404,6 @@ int add_mtd_partitions(struct mtd_info *
 		slave->mtd.eccsize = master->eccsize;
 
 		slave->mtd.name = parts[i].name;
-		slave->mtd.bank_size = master->bank_size;
 		slave->mtd.owner = master->owner;
 
 		slave->mtd.read = part_read;
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 886f481..e267370 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -97,9 +97,6 @@ #define MTD_PROGREGION_CTRLMODE_INVALID(
 	int numeraseregions;
 	struct mtd_erase_region_info *eraseregions;
 
-	/* This really shouldn't be here. It can go away in 2.5 */
-	u_int32_t bank_size;
-
 	int (*erase) (struct mtd_info *mtd, struct erase_info *instr);
 
 	/* This stuff for eXecute-In-Place */
-- 
1.3.0.gc5417


-- 
Martin Waitz

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MTD: remove mtd_info->bank_size
  2006-04-23 19:35 [PATCH] MTD: remove mtd_info->bank_size Martin Waitz
@ 2006-04-24  7:25 ` Jörn Engel
  0 siblings, 0 replies; 2+ messages in thread
From: Jörn Engel @ 2006-04-24  7:25 UTC (permalink / raw)
  To: Martin Waitz; +Cc: linux-mtd

On Sun, 23 April 2006 21:35:37 +0200, Martin Waitz wrote:
> 
> According to the comment the variable should go away in 2.5.
> There are no in-tree users of this variable left.
> 
> Signed-off-by: Martin Waitz <tali@admingilde.org>

Applied, thanks.

Jörn

-- 
It is better to die of hunger having lived without grief and fear,
than to live with a troubled spirit amid abundance.
-- Epictetus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-24  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-23 19:35 [PATCH] MTD: remove mtd_info->bank_size Martin Waitz
2006-04-24  7:25 ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox