Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934329Ab3ECUR1 (ORCPT ); Fri, 3 May 2013 16:17:27 -0400 Received: from mail-ia0-f171.google.com ([209.85.210.171]:57714 "EHLO mail-ia0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934031Ab3ECUR0 (ORCPT ); Fri, 3 May 2013 16:17:26 -0400 MIME-Version: 1.0 In-Reply-To: <1367591569-32197-19-git-send-email-lee.jones@linaro.org> References: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> <1367591569-32197-19-git-send-email-lee.jones@linaro.org> Date: Fri, 3 May 2013 22:17:26 +0200 Message-ID: Subject: Re: [PATCH 18/63] dmaengine: ste_dma40: Remove 'always true' checking From: Linus Walleij To: Lee Jones Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann , Linus WALLEIJ , Srinidhi KASAGAR , Vinod Koul , Dan Williams , Per Forlin , Rabin Vincent Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 25 On Fri, May 3, 2013 at 4:32 PM, Lee Jones wrote: > Before allocating memory for logical channels, the current driver > checks to see if there are any. Well as the dma40_memcpy_channels[] > array is always populated, the check is always true. Best to > remove the check. > > Cc: Vinod Koul > Cc: Dan Williams > Cc: Per Forlin > Cc: Rabin Vincent > Acked-by: Arnd Bergmann > Signed-off-by: Lee Jones Tentatively applied to my ux500-dma40 branch. Vinod, can I have your ACK on this patch? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/