Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDC88C32789 for ; Tue, 6 Nov 2018 17:01:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B65692081D for ; Tue, 6 Nov 2018 17:01:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="OoP3v9LA"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="IW6wLIWe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B65692081D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389565AbeKGC1w (ORCPT ); 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= 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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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