Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2096467imu; Tue, 6 Nov 2018 09:02:54 -0800 (PST) X-Google-Smtp-Source: AJdET5emsiCJin1BaoxROnn3Ikx33Hy+fQ4ecOqEagTVa2IzZjt3Cbiu6YMP+N/cVnN3Ja101xUG X-Received: by 2002:a62:6801:: with SMTP id d1-v6mr26935576pfc.7.1541523774386; Tue, 06 Nov 2018 09:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541523774; cv=none; d=google.com; s=arc-20160816; b=ZR0ASTaKIS9F2iNEq0DakC+PTGiOPEIMpKNiIU2KgBoH/UqiF0f48vwZeFTHamLcSO RtMROo7KgUxMf4FiXzsNqInh7pI03Igfs/IWoobzPz1VTKUTfSqv5HUD7eYziN9OSqzE lsgYQ2RTYyvui7H7V+LTVMQQNuJsVUTduSQhu8R7zQC+7dp7RbECvFQycHFtDbFxYZXP ACM+V3t0T0cDHA91GmKXZ67eQBAjDiuL+totgd5QIx4+SG7ePxeObjcL9r0NYbp45rj3 mGLzw8Yn+FXGz+NfND6C8g8fWMCjXy/5pTvvLbBdCB+eOn/VJIGDCvOEKZXhKJuGJ8BR qiTA== 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=Dt8saL5ijZG+rbiuCqiqW0T/ukvmKrHjU8tKLDx0hHY=; b=YNRHvYBEfA3mAtkqo3iOvE/1UOarFl6csA2nJEt0RlAjR/2bgAqjqosk8NyIr819RW jxiQt+eTU/yGfI1Zfad40Idzfs/5l3RCI6vIsLGfPiN9YTkWeZrqOQvXuBV/wkCrzMrY QpDhNrjYdr7CUbHc9kHqqGoyQNf2TpjV/JqVEvcABvhqfXCp6GxIsdLx24U4RzbVncT+ DLcH+OTCyGsQR1wlw51ekPCCzP5L0jz7U93K6I9j2pQHk2r/HhSRdIqp5fPW+o1Dcip3 nNEX50+h4s/ydnotz7FG18SwnE4crMptDyL42kZkVgDGZUhRDzm+88BNx/1oNsZCK4vS 2TAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=OoP3v9LA; dkim=pass header.i=@codeaurora.org header.s=default header.b=IW6wLIWe; 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 i11-v6si31829252pgk.29.2018.11.06.09.02.36; Tue, 06 Nov 2018 09:02:54 -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=OoP3v9LA; dkim=pass header.i=@codeaurora.org header.s=default header.b=IW6wLIWe; 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 S2389573AbeKGC1w (ORCPT + 99 others); Tue, 6 Nov 2018 21:27:52 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58744 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389285AbeKGC1w (ORCPT ); Tue, 6 Nov 2018 21:27:52 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E8C4F601D7; Tue, 6 Nov 2018 17:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541523703; bh=VhR3OzK4s1aY/KqeZ6NOUhweOuZTUdQLttBQA1bzZ7o=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=OoP3v9LAeBdaFS/za3/R9T1IoZablBXYV0QqllzylTvhovugTXOLliDPI5yPIZx5q mgGcli/og86m19HP3kJW7iqa0tUilzSP+DdGpYkzoQMFOWFji4EgBBja+hcIkwWCd5 ZK20Mt9QT/LbavOVWpBLh2rZ7Dshsr/VNJ0Kog3s= 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 0C48E601D7; Tue, 6 Nov 2018 17:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541523702; bh=VhR3OzK4s1aY/KqeZ6NOUhweOuZTUdQLttBQA1bzZ7o=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=IW6wLIWeWWUgJYb1F1VWubYPXkwa+c/0ymKanKTvCtqqFnS3/aWjFF9udG3+Ezgov 9zXwR7x6hn7L3Fx+vC1mMjyDFkSQtAGllNzvIfa9Y5jQVL6msfzTMEp/U2oRfu+jsR MTgtLTEyrA0aOkrklLltzqJLJ0HNZHHnXoqV5Gww= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0C48E601D7 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: [PATCHv3] rtlwifi: rtl8723ae: Remove set but not used variables and #defines From: Kalle Valo In-Reply-To: <1540360329-65013-1-git-send-email-zhongjiang@huawei.com> References: <1540360329-65013-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: <20181106170143.E8C4F601D7@smtp.codeaurora.org> Date: Tue, 6 Nov 2018 17:01:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 array should be > removed as well. because it will no longer be referenced. > > Signed-off-by: zhong jiang > Acked-by: Ping-Ke Shih Patch applied to wireless-drivers-next.git, thanks. 90e3243d16ad rtlwifi: rtl8723ae: Remove set but not used variables and #defines -- https://patchwork.kernel.org/patch/10654181/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches