diff options
-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); |