aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/plat-omap/dma.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index 8a71f7536f29..4d463ca6821f 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -2111,8 +2111,6 @@ exit_dma_irq_fail:
2111 } 2111 }
2112 2112
2113exit_dma_lch_fail: 2113exit_dma_lch_fail:
2114 kfree(p);
2115 kfree(d);
2116 kfree(dma_chan); 2114 kfree(dma_chan);
2117 return ret; 2115 return ret;
2118} 2116}
@@ -2133,8 +2131,6 @@ static int omap_system_dma_remove(struct platform_device *pdev)
2133 free_irq(dma_irq, (void *)(irq_rel + 1)); 2131 free_irq(dma_irq, (void *)(irq_rel + 1));
2134 } 2132 }
2135 } 2133 }
2136 kfree(p);
2137 kfree(d);
2138 kfree(dma_chan); 2134 kfree(dma_chan);
2139 return 0; 2135 return 0;
2140} 2136}