Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-5
-5
include/linux/mtd/mtd.h
··· 48 48 uint64_t addr; 49 49 uint64_t len; 50 50 uint64_t fail_addr; 51 - u_long time; 52 - u_long retries; 53 - unsigned dev; 54 - unsigned cell; 55 51 void (*callback) (struct erase_info *self); 56 52 u_long priv; 57 53 u_char state; 58 - struct erase_info *next; 59 54 }; 60 55 61 56 struct mtd_erase_region_info {