mtd: dataflash: remove unused field

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Nov 13 13:59:02 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=be1ee7d88162fa7e2de45b4f952bf566e8ffe97d
Commit:     be1ee7d88162fa7e2de45b4f952bf566e8ffe97d
Parent:     552fb55d6e0a83a751385cebc214c090626765fc
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Sat Aug 10 10:36:00 2013 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Sun Oct 27 16:26:59 2013 -0700

    mtd: dataflash: remove unused field
    
    struct dataflash's 'partition' field is unused. Just remove it.
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
    Cc: David Brownell <david-b at pacbell.net>
---
 drivers/mtd/devices/mtd_dataflash.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c
index 0e8cbfe..1cfbfcf 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 */
 



More information about the linux-mtd-cvs mailing list