From: Herbert Xu Subject: Re: [PATCH] crypto: chcr - Replace _manual_ swap with swap macro Date: Mon, 6 Nov 2017 15:09:57 +0800 Message-ID: <20171106070957.GH14274@gondor.apana.org.au> References: <20171103165823.GA16842@embeddedor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Harsh Jain , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org To: "Gustavo A. R. Silva" Return-path: Received: from orcrist.hmeau.com ([104.223.48.154]:51780 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751778AbdKFHKh (ORCPT ); Mon, 6 Nov 2017 02:10:37 -0500 Content-Disposition: inline In-Reply-To: <20171103165823.GA16842@embeddedor.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Fri, Nov 03, 2017 at 11:58:23AM -0500, Gustavo A. R. Silva wrote: > Make use of the swap macro and remove unnecessary variable temp. > This makes the code easier to read and maintain. > > This code was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt