diff options
author | Brian Norris <computersforpeace@gmail.com> | 2013-08-10 13:36:00 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-10-27 19:26:59 -0400 |
commit | be1ee7d88162fa7e2de45b4f952bf566e8ffe97d (patch) | |
tree | 2b849fb430ced40851f84cf23100e15756a0dbf8 | |
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>
-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 0e8cbfeba11e..1cfbfcfb6e19 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c | |||
@@ -88,8 +88,6 @@ struct dataflash { | |||
88 | uint8_t command[4]; | 88 | uint8_t command[4]; |
89 | char name[24]; | 89 | char name[24]; |
90 | 90 | ||
91 | unsigned partitioned:1; | ||
92 | |||
93 | unsigned short page_offset; /* offset in flash address */ | 91 | unsigned short page_offset; /* offset in flash address */ |
94 | unsigned int page_size; /* of bytes per page */ | 92 | unsigned int page_size; /* of bytes per page */ |
95 | 93 | ||