diff options
author | Kevin Hao <haokexin@gmail.com> | 2014-06-16 09:52:36 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-07-03 00:22:01 +0200 |
commit | da90c4ecbc680881741b51c78a51a3b52d142116 (patch) | |
tree | 78f1435265d19f418197cf1b259e9f5ba44ba63a /drivers/mtd | |
parent | mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove (diff) | |
download | linux-da90c4ecbc680881741b51c78a51a3b52d142116.tar.xz linux-da90c4ecbc680881741b51c78a51a3b52d142116.zip |
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')
-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 { struct mtd_blktrans_dev mbd; uint32_t state; uint32_t *VirtualBlockMap; - uint32_t *VirtualPageMap; uint32_t FreeTotal; struct eun_info_t { uint32_t Offset; @@ -1035,8 +1034,6 @@ static void ftl_freepart(partition_t *part) { vfree(part->VirtualBlockMap); part->VirtualBlockMap = NULL; - kfree(part->VirtualPageMap); - part->VirtualPageMap = NULL; kfree(part->EUNInfo); part->EUNInfo = NULL; kfree(part->XferInfo); |