From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757136AbaEPMSF (ORCPT ); Fri, 16 May 2014 08:18:05 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:50196 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754454AbaEPMSB (ORCPT ); Fri, 16 May 2014 08:18:01 -0400 From: Peter Ujfalusi To: , , CC: , , , , , , , , Subject: [PATCH v3 01/13] ARM: edma: No need to clean the pdata in edma_of_parse_dt() Date: Fri, 16 May 2014 15:17:08 +0300 Message-ID: <1400242640-9902-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1400242640-9902-1-git-send-email-peter.ujfalusi@ti.com> References: <1400242640-9902-1-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/common/edma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 8452cf246330..01707aae0a2b 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c @@ -1472,8 +1472,6 @@ static int edma_of_parse_dt(struct device *dev, struct edma_rsv_info *rsv_info; s8 (*queue_tc_map)[2], (*queue_priority_map)[2]; - memset(pdata, 0, sizeof(struct edma_soc_info)); - ret = of_property_read_u32(node, "dma-channels", &value); if (ret < 0) return ret; -- 1.9.3