Skip to content

Commit dcba51b

Browse files
author
Boris Brezillon
committed
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>
1 parent c585da9 commit dcba51b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎include/linux/mtd/mtd.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,9 @@ struct erase_info {
4848
uint64_t addr;
4949
uint64_t len;
5050
uint64_t fail_addr;
51-
u_long time;
52-
u_long retries;
53-
unsigned dev;
54-
unsigned cell;
5551
void (*callback) (struct erase_info *self);
5652
u_long priv;
5753
u_char state;
58-
struct erase_info *next;
5954
};
6055

6156
struct mtd_erase_region_info {

0 commit comments

Comments
 (0)