Return-path: Received: from alexa-out.qualcomm.com ([129.46.98.28]:16543 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751712AbdLBON1 (ORCPT ); Sat, 2 Dec 2017 09:13:27 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: ath9k: dfs: use swap macro in ath9k_check_chirping From: Kalle Valo In-Reply-To: <20171103201425.GA26452@embeddedor.com> References: <20171103201425.GA26452@embeddedor.com> To: "Gustavo A. R. Silva" CC: QCA ath9k Development , Kalle Valo , , , , "Gustavo A. R. Silva" Message-ID: (sfid-20171202_151352_050367_F8151E2D) Date: Sat, 2 Dec 2017 15:13:18 +0100 Sender: linux-wireless-owner@vger.kernel.org List-ID: "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 > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 626ab6707abe ath9k: dfs: use swap macro in ath9k_check_chirping -- https://patchwork.kernel.org/patch/10041197/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches