diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-05-16 08:17:08 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2014-05-22 01:17:45 -0400 |
commit | 89df4bed0f25157700c0ade5ac5f0296150eaecd (patch) | |
tree | 5b412538f44068039b871bc8028a8ee14608de61 /arch/arm/common | |
parent | 441617672810482b1f92878b7f82a56cd4f0fcf6 (diff) |
ARM: edma: No need to clean the pdata in edma_of_parse_dt()
The pdata has been just allocated with devm_kzalloc() in
edma_setup_info_from_dt() and passed to this function.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | arch/arm/common/edma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index b9bd42ad2d6e..fade9ada81f8 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c | |||
@@ -1490,8 +1490,6 @@ static int edma_of_parse_dt(struct device *dev, | |||
1490 | struct edma_rsv_info *rsv_info; | 1490 | struct edma_rsv_info *rsv_info; |
1491 | s8 (*queue_tc_map)[2], (*queue_priority_map)[2]; | 1491 | s8 (*queue_tc_map)[2], (*queue_priority_map)[2]; |
1492 | 1492 | ||
1493 | memset(pdata, 0, sizeof(struct edma_soc_info)); | ||
1494 | |||
1495 | ret = of_property_read_u32(node, "dma-channels", &value); | 1493 | ret = of_property_read_u32(node, "dma-channels", &value); |
1496 | if (ret < 0) | 1494 | if (ret < 0) |
1497 | return ret; | 1495 | return ret; |