Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp74997ima; Tue, 23 Oct 2018 19:50:24 -0700 (PDT) X-Google-Smtp-Source: AJdET5fPXT/gctkAL+PJ4cJ3W4cCCKs2X2PxR0hROHTwzZ488QJ1ky8WdsdaFDBehyARpZgTA1xm X-Received: by 2002:a63:6ec4:: with SMTP id j187-v6mr828149pgc.3.1540349424720; Tue, 23 Oct 2018 19:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540349424; cv=none; d=google.com; s=arc-20160816; b=aym9uA+TH8bQseWV3DJYWG0u0zGEO1mOgpywMcGY4iaCxNLHEcDnHAxgx3sCkPJdJH W100utRjZULT9OIbUayEiCy75WWHjGLvzOQ2Ca5pozX1fI6oqTADs365hq/AD7aygbSw DBlLBFQbEqTNL7rsCNOTdB7dn6Xf1bB93o0KezAzZb8jPTbswhLm7/DlG2fq4SQoBOrl bVZpsAgFuNosB+26liecbR67xOR4ERAlv/JW0T3ucNJrSlFndTMdyMYSNoL2GLS1fIeg UA6Kc1lAo+C/18Fr8l5i1EHc4QYec6jVZWW8IMoLCCawDJ+KlJgB3waBT4N1xRLUUPyZ IcuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=xvD/sy4B7OegheA/cVGvDlpXAPeKhhb/UkXw+t+7MtI=; b=If1FBV47Eu7dNSg5HrVfT+/OaWcGanV9Upvfmq2RdYqM2mfHC+OD/05W0OnSYfC30b toOvGLehqoaVIQh/M2m4ULdBbTpyUfSZRxNuwzqOs2iodGGXNLDCteJMMI+s5sy2K29d qp/BrhY0QAc/csDZbaCOg56wn75eMBg0qA2ZVhR9o/n2hocDj6BMxIUm5w39+hr05D3r K82iv3Fd1XkkYugCKNgodxFvfCNFZnK3olB1IkXQqFAawQ8nP7Y7Oy06s5i9PSu+N/FY MYK0RGH1Gp8VHlwxX4B144BPnWHiCGFAooS+lkgQrhiKBGiyHs+d7Hmsi0byhDWPw3OP sxWA== ARC-Authentication-Results: i=1; mx.google.com; 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 g24-v6si3380087pgh.188.2018.10.23.19.50.08; Tue, 23 Oct 2018 19:50:24 -0700 (PDT) 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; 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 S1726884AbeJXLPM (ORCPT + 99 others); Wed, 24 Oct 2018 07:15:12 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54321 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725979AbeJXLPL (ORCPT ); Wed, 24 Oct 2018 07:15:11 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 9F275B6FC880A; Wed, 24 Oct 2018 10:04:02 +0800 (CST) Received: from [127.0.0.1] (10.177.29.68) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.408.0; Wed, 24 Oct 2018 10:04:01 +0800 Message-ID: <5BCFD310.90305@huawei.com> Date: Wed, 24 Oct 2018 10:04:00 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Pkshih , "joe@perches.com" CC: "kvalo@codeaurora.org" , "linux-wireless@vger.kernel.org" , "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] rtlwifi: remove set but not used variable 'radiob_array_table' and 'radiob_arraylen' References: <1540283282-9772-1-git-send-email-zhongjiang@huawei.com> <19b16ca89b5cde607338513638d4ef8e3a3d2802.camel@perches.com> <1540342331.2495.1.camel@realtek.com> In-Reply-To: <1540342331.2495.1.camel@realtek.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/10/24 8:52, Pkshih wrote: > On Tue, 2018-10-23 at 12:33 -0700, Joe Perches wrote: >> On Tue, 2018-10-23 at 16:28 +0800, zhong jiang wrote: >>> radiob_array_table' and 'radiob_arraylen' are not used after setting its >> value. >>> It is safe to remove the unused variable. Meanwhile, radio B radio should be >>> removed as well. because it will no longer be referenced. >> The patch subject is a bit off and too generic here. >> >> This is specific to rtl8723ae and not rtlwifi so it is >> probably better for the subject to be something like: >> >> [PATCH] rtl8723ae: Remove set but not used variables and #defines > I'd like 'rtlwifi: rtl8723ae: ' as subject prefix. Thanks for your suggestion. Will change the subject and resend. [PATCH] rtlwifi: rtl8723ae: Remove set but not used variables and #defines Thanks, zhong jiang >>> Signed-off-by: zhong jiang >>> --- >>> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c | 5 +---- >>> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/table.c | 4 ---- >>> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/table.h | 2 -- >> >> ------Please consider the environment before printing this e-mail.