From: Brian Norris Date: Sat, 10 Aug 2013 17:36:00 +0000 (-0700) Subject: mtd: dataflash: remove unused field X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=be1ee7d88162fa7e2de45b4f952bf566e8ffe97d;p=openwrt%2Fstaging%2Fblogic.git mtd: dataflash: remove unused field struct dataflash's 'partition' field is unused. Just remove it. Signed-off-by: Brian Norris Cc: David Brownell --- diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 0e8cbfeba11e..1cfbfcfb6e19 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -88,8 +88,6 @@ struct dataflash { uint8_t command[4]; char name[24]; - unsigned partitioned:1; - unsigned short page_offset; /* offset in flash address */ unsigned int page_size; /* of bytes per page */