summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-08-10 21:36:00 +0400
committerBrian Norris <computersforpeace@gmail.com>2013-10-28 03:26:59 +0400
commitbe1ee7d88162fa7e2de45b4f952bf566e8ffe97d (patch)
tree2b849fb430ced40851f84cf23100e15756a0dbf8 /drivers/mtd
parent552fb55d6e0a83a751385cebc214c090626765fc (diff)
downloadlinux-be1ee7d88162fa7e2de45b4f952bf566e8ffe97d.tar.xz
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')
-rw-r--r--drivers/mtd/devices/mtd_dataflash.c2
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 {
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 */