Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751856AbdLBON3 (ORCPT ); Sat, 2 Dec 2017 09:13:29 -0500 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 X-IronPort-AV: E=McAfee;i="5900,7806,8732"; a="1493648882" X-MGA-submission: =?us-ascii?q?MDHzeFIJ/VBq4wx+hYgtz0Z9yTKsxZa3LBRxFp?= =?us-ascii?q?Wvv5KCBx31V0dTeZgNWlav0Ju//tqgOqlJkAw2CNo3WvMM7ZeZMumYFW?= =?us-ascii?q?l6kLi5MLAKojYbbFd2eMuM/hO33NJOn2I0cHQWPMCck9gcrJ/0JiCpAh?= =?us-ascii?q?9Z?= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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" User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-ID: Date: Sat, 2 Dec 2017 15:13:18 +0100 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01F.na.qualcomm.com (10.85.0.32) To euamsexm01a.eu.qualcomm.com (10.251.127.40) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 599 Lines: 18 "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