diff options
| author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-02-12 16:03:08 -0500 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-15 12:25:06 -0400 |
| commit | dcba51bbb9e0cc7f80d36eb20a033a4dff2ce9cc (patch) | |
| tree | a010d76a62213d590b2c6431fafd76da757b664a /include/linux/mtd | |
| parent | c585da9f5f6186739f0b123b8a5b6353e425f51b (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.h | 5 |
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 { | |||
| 48 | uint64_t addr; | 48 | uint64_t addr; |
| 49 | uint64_t len; | 49 | uint64_t len; |
| 50 | uint64_t fail_addr; | 50 | uint64_t fail_addr; |
| 51 | u_long time; | ||
| 52 | u_long retries; | ||
| 53 | unsigned dev; | ||
| 54 | unsigned cell; | ||
| 55 | void (*callback) (struct erase_info *self); | 51 | void (*callback) (struct erase_info *self); |
| 56 | u_long priv; | 52 | u_long priv; |
| 57 | u_char state; | 53 | u_char state; |
| 58 | struct erase_info *next; | ||
| 59 | }; | 54 | }; |
| 60 | 55 | ||
| 61 | struct mtd_erase_region_info { | 56 | struct mtd_erase_region_info { |
