public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Martin Waitz <tali@admingilde.org>
To: linux-mtd@lists.infradead.org
Subject: [PATCH] MTD: remove mtd_info->bank_size
Date: Sun, 23 Apr 2006 21:35:37 +0200	[thread overview]
Message-ID: <20060423193537.GG29948@admingilde.org> (raw)

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

             reply	other threads:[~2006-04-23 19:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-23 19:35 Martin Waitz [this message]
2006-04-24  7:25 ` [PATCH] MTD: remove mtd_info->bank_size Jörn Engel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060423193537.GG29948@admingilde.org \
    --to=tali@admingilde.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox