diff options
author | Kevin Hao <haokexin@gmail.com> | 2014-06-16 03:52:36 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-07-02 18:22:01 -0400 |
commit | da90c4ecbc680881741b51c78a51a3b52d142116 (patch) | |
tree | 78f1435265d19f418197cf1b259e9f5ba44ba63a /drivers/mtd/ftl.c | |
parent | e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c (diff) |
mtd/ftl: drop the useless VirtualPageMap in partition_t
This is not used by any code now. Just drop it.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/ftl.c')
-rw-r--r-- | drivers/mtd/ftl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 19d637266fcd..71f2782f03fc 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c | |||
@@ -111,7 +111,6 @@ typedef struct partition_t { | |||
111 | struct mtd_blktrans_dev mbd; | 111 | struct mtd_blktrans_dev mbd; |
112 | uint32_t state; | 112 | uint32_t state; |
113 | uint32_t *VirtualBlockMap; | 113 | uint32_t *VirtualBlockMap; |
114 | uint32_t *VirtualPageMap; | ||
115 | uint32_t FreeTotal; | 114 | uint32_t FreeTotal; |
116 | struct eun_info_t { | 115 | struct eun_info_t { |
117 | uint32_t Offset; | 116 | uint32_t Offset; |
@@ -1035,8 +1034,6 @@ static void ftl_freepart(partition_t *part) | |||
1035 | { | 1034 | { |
1036 | vfree(part->VirtualBlockMap); | 1035 | vfree(part->VirtualBlockMap); |
1037 | part->VirtualBlockMap = NULL; | 1036 | part->VirtualBlockMap = NULL; |
1038 | kfree(part->VirtualPageMap); | ||
1039 | part->VirtualPageMap = NULL; | ||
1040 | kfree(part->EUNInfo); | 1037 | kfree(part->EUNInfo); |
1041 | part->EUNInfo = NULL; | 1038 | part->EUNInfo = NULL; |
1042 | kfree(part->XferInfo); | 1039 | kfree(part->XferInfo); |