Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcba51bb authored by Boris Brezillon's avatar Boris Brezillon
Browse files

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: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: default avatarRichard Weinberger <richard@nod.at>
parent c585da9f
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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 {