Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp430847imu; Mon, 5 Nov 2018 03:19:38 -0800 (PST) X-Google-Smtp-Source: AJdET5ckn2kXfFI5urDR5j5Mr2ir8j9+KtN7+dpJBInuHGIm0UY+LdN85FlhaTFjgtHPVYi1mExt X-Received: by 2002:a63:36c4:: with SMTP id d187mr3211288pga.404.1541416778327; Mon, 05 Nov 2018 03:19:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541416778; cv=none; d=google.com; s=arc-20160816; b=xI8HAaNPcq3GoRhOrwZwrm2ZlQR8YUXhCLyGEFpGqwGj9TwdY54zeX4o7lzdVYA/J5 R6t10atHPb86lMQ5Zd22RKNmjaZJbzxaXQTntgiES0IgkTGW7NP5a6rdMWmIRHWpJrpJ bUc/qfn98/fprk3ho0xsan9R+5twnmN44yGOsJWT+PO36wTHvmo3X9NGRPIStKtIK1+b P3xjFeiA8+50gz4Su8OYa3024SkodtzGaubJsFfa/qBlPk3mtFCD3TehtwMS5E4Gwn7l O4xqXl1fz/EVIsVuJOy4S1g24Q5sz+am5TP52GwM4yaIjV2xv5qriXctLTa+VkF8e5Hu gssg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=SCi/Ue33t9GimM5ZDOH43twhWXBfDk2G+7dQU7bh/Hs=; b=cw/rieumVnJ7bplbg92of8iCPGy6xH7IcJ7UCt4+/lwM3xGhNpSwTJgs+Q71NlxnoZ D/uG7B50FGNvIAMAFbzJ82xPUFmiSMeOyotuppo/zU5culTWSvpovq4H04V4M2Klfg/n xjIgE2E3jSTW9qilgpCRkaZOzPLDe+/Qc2fIzGKtG8eH86UQEAdxggx1LbKunTa4URcK YvTCoRZVbZKi1pMykkj9eGXsew5/trBXQ6nA5lJF9NAkHUtXtLBBwwVl2AQbe8SaEl6A GO2RPpw+g5eZZnuwt+nUtfYNzxNqYxbWI8UxAJWCKahD2x2QLZAP8jLGO6Urph5h4OBd e3Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=P6Mko4gg; dkim=pass header.i=@codeaurora.org header.s=default header.b=eNXKuCw0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9-v6si41729662plt.144.2018.11.05.03.19.23; Mon, 05 Nov 2018 03:19:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=P6Mko4gg; dkim=pass header.i=@codeaurora.org header.s=default header.b=eNXKuCw0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729375AbeKEUiN (ORCPT + 99 others); Mon, 5 Nov 2018 15:38:13 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:44660 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728122AbeKEUiM (ORCPT ); Mon, 5 Nov 2018 15:38:12 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BF41960741; Mon, 5 Nov 2018 11:18:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541416739; bh=TrTfBc/YVajTFeR/nTTqQXv7h4iVdWhYWn6OkzmkAWA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=P6Mko4ggNM0MPvdXaZJdILoret4WZiKLcWusB8/OExbb3wheaDtJsFsENBnnTnimc pATPLifoTK4n6FlJJkbZLpv8aMgTPxBNsdUqY9qlNHqL0871h17lG+/ckDaGIMPVIb Zv6fsanIpIRnW603BxFdQVUGjxD8JYE4Ox1+KX1U= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2CC1260247; Mon, 5 Nov 2018 11:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541416739; bh=TrTfBc/YVajTFeR/nTTqQXv7h4iVdWhYWn6OkzmkAWA=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=eNXKuCw0Ohyh7kAT2JPTqJhpH17XYE8xwPTn6yKGpZBlvoA127N3AOAsZutVrGEAH zqzsMFaT5zkH035JmTSOEnpdp/gnI5qHKyfzjH4KG/kPGmH4Jd1am0mSzzHG+HkFXd 4ygICY8Z9JJUEYO6pp+EP3HsUlWE2pCdIM9jI+pM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2CC1260247 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath9k: remove set but not used variable 'new_flags' From: Kalle Valo In-Reply-To: <1540265234-58050-1-git-send-email-zhongjiang@huawei.com> References: <1540265234-58050-1-git-send-email-zhongjiang@huawei.com> To: zhong jiang Cc: , , , , User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20181105111859.BF41960741@smtp.codeaurora.org> Date: Mon, 5 Nov 2018 11:18:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org zhong jiang wrote: > new_flags is not used after setting its value. It is safe to remove > the unused variable. > > Signed-off-by: zhong jiang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 53d76f1687ba ath9k: remove set but not used variable 'new_flags' -- https://patchwork.kernel.org/patch/10652679/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches