From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 536E4ECAAA1 for ; Mon, 5 Sep 2022 06:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p1KQ1tEaO8aCTXKpjdt3yhIpMykJp68rBcElsOD7pKc=; b=jWVkMNRjXrwm9f bA0pXsA2+5Z/G8l0Y4N9ljICEXeBLuH/uz1mM3pX8FpdxH4ohg2+IEuYDZ98sp1JKoUUwf2vxcMFS uNVf4TukHUDOzaGdDTMW3459R2e7UjsPXJ2KU52YF+gG5LslaXu+L/aO4zkDS89t6Bk08WGshJ/na gftB7nYi1xCmqX7CRGQq6Qhhz8C/T37igWC3nF6YkzDMxL7y79uE1r1l1E49N+uxRpSxytvnKODJd DE2zoQRhWefV7Ohf3bZdQ0AdbeP3yjIgWQUpU/5ju0kATxV7ITNM+rIHHcNgR4an4Gzyl/G6h0GsI tiJw/qg83eZejITx2X9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oV5qb-00CVgc-Ps; Mon, 05 Sep 2022 06:44:42 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oV5em-00CHcz-7f for linux-arm-kernel@lists.infradead.org; Mon, 05 Sep 2022 06:32:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CECCEB80E98; Mon, 5 Sep 2022 06:32:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C5C8C433D6; Mon, 5 Sep 2022 06:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662359545; bh=v8Uu4t3DK94xkNfwRECUeVVINR5kAkDQcI0D9fj/uEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VHVLDhuvJaQTJ4t5AvwKmhUKBGuZvkzBfG9ugAsU3a9eGaHX8IrDjsD2u3Sqq0Hp7 RRZrn+CSD5e/WNng3cMI9+KyVcUiyYv9HAYpFdTHoNxjoR1q45GGQMhvDMzcJku4zv M8zMfEb82AOEfm34cpabCTpB2xFlJfiTz5KBMGUv2QxJSrJwgoVF4jtwjhISMDQAzF sHZ5JhN9L/X3S6VyMAmxce9dSWjI+jeMaeKbtaRUMtsPCelhJWDfO384XvxjZfZ+09 vbExgT9Z0aTVe7Inp537rd+SO/6KksZ/RXaTaU2pI00Pe0iV6zR+dQYifgeQNaa7gZ yt8Nzt9VKIuYQ== Date: Mon, 5 Sep 2022 12:02:21 +0530 From: Vinod Koul To: Tudor Ambarus Cc: ludovic.desroches@microchip.com, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: at_xdmac: Replace two if statements with only one with two conditions Message-ID: References: <20220802140630.243550-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220802140630.243550-1-tudor.ambarus@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220904_233228_503111_824C84CF X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 02-08-22, 17:06, Tudor Ambarus wrote: > Add a cosmetic change and replace two if statements with a single if > statement with two conditions. In case the optional txstate parameter is > NULL, we return the dma_cookie_status, which is fine, no functional change > required. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel