diff options
-rw-r--r-- | drivers/misc/sram.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index afe66571ce0b..e3e421d97ad4 100644 --- a/drivers/misc/sram.c +++ b/drivers/misc/sram.c | |||
@@ -87,8 +87,6 @@ static int sram_remove(struct platform_device *pdev) | |||
87 | if (gen_pool_avail(sram->pool) < gen_pool_size(sram->pool)) | 87 | if (gen_pool_avail(sram->pool) < gen_pool_size(sram->pool)) |
88 | dev_dbg(&pdev->dev, "removed while SRAM allocated\n"); | 88 | dev_dbg(&pdev->dev, "removed while SRAM allocated\n"); |
89 | 89 | ||
90 | gen_pool_destroy(sram->pool); | ||
91 | |||
92 | if (sram->clk) | 90 | if (sram->clk) |
93 | clk_disable_unprepare(sram->clk); | 91 | clk_disable_unprepare(sram->clk); |
94 | 92 | ||