diff options
author | Brian Norris <computersforpeace@gmail.com> | 2013-08-10 10:36:00 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-10-27 16:26:59 -0700 |
commit | be1ee7d88162fa7e2de45b4f952bf566e8ffe97d (patch) | |
tree | 2b849fb430ced40851f84cf23100e15756a0dbf8 /drivers/mtd/devices | |
parent | 552fb55d6e0a83a751385cebc214c090626765fc (diff) |
mtd: dataflash: remove unused field
struct dataflash's 'partition' field is unused. Just remove it.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: David Brownell <david-b@pacbell.net>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r-- | drivers/mtd/devices/mtd_dataflash.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 0e8cbfeba11..1cfbfcfb6e1 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 */ |