summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-02-12 22:03:08 +0100
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-03-15 17:25:06 +0100
commitdcba51bbb9e0cc7f80d36eb20a033a4dff2ce9cc (patch)
treea010d76a62213d590b2c6431fafd76da757b664a /include/linux/mtd
parentc585da9f5f6186739f0b123b8a5b6353e425f51b (diff)
mtd: Get rid of unused fields in struct erase_info
Some fields are not used by MTD drivers, users or core code. Moreover, those fields are not documented, so get rid of them to avoid any confusion. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/mtd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 205ededccc60..2a407dc9beaa 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -48,14 +48,9 @@ struct erase_info {
uint64_t addr;
uint64_t len;
uint64_t fail_addr;
- u_long time;
- u_long retries;
- unsigned dev;
- unsigned cell;
void (*callback) (struct erase_info *self);
u_long priv;
u_char state;
- struct erase_info *next;
};
struct mtd_erase_region_info {