Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp150427ybk; Tue, 12 May 2020 18:19:34 -0700 (PDT) X-Google-Smtp-Source: APiQypLAwIbxdDStPTd9rZVPbtg3w9NTiMblC4Usf7UAjMEWY1oVFim+IcZfbLhMKoJGpitqzw2k X-Received: by 2002:a17:906:6708:: with SMTP id a8mr15818909ejp.266.1589332774326; Tue, 12 May 2020 18:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589332774; cv=none; d=google.com; s=arc-20160816; b=jvGTqvk2iCW5KopwrY/LBCrEDavO6U+Y+rCmEc6bStzLdHkdvpXAkS04b6Flel4nzD sdIxEzdijRBwPkmor+3kZBUm3mVZqsdxcvaQF4WQTG+nBc18mX6NImNW2vrNziH3IiP9 61PtHwiCbXYG9iltolWCDwTmZMxxX45bFpB46o/3TRwiMKHPRLECFHbdxmu9EwpjtpzS h5IjarYi7BHDGYTrTk40g9M3tInVtSZ6sSEZbTyAlkzHLH+7OrxbHQymD8SV72WuVzoJ ARPghplnUsDDGwzKnsF/FRWVzyBnHi11jmOLxC5g+fGKXID6DyA+0oC4Z447DpFs4vxG H9Aw== 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:mime-version :message-id:date:subject:cc:to:from; bh=5rY0Zea2Ds5LOeyKhi1Ce0X5iPb5xXjxSQEMeepEaGg=; b=tO+MInMPvcTOP47pPxnVUX7y5ePDFVyaL1OMuwIgHqXeeqZZhXgDoriDS7koSqgzgy vIPtOvU/T4qC9hymrVJ+vBCBW6pmSr8vG6xqMJZik2rpCtQg6lp+0StU07pPVto8XmRn 2UdjbkqH4ltsW9WFD/vVp/upluDlGAGDt73VkxyJVs5pwUMY59uerXah6lYIPSAtj/+8 I6bls6XY9Sex9okOgkHpjStQMG2iFSAJxMNZN6LZqYnfj10YYQTxadA5cPqV3mkydXyr zGzaEFvqbzvnPJwlMCnApOEmYX9Cz9P1+Cp6lAIzjUAKlE0qI23qbERDtSSRbWR7v0IO ABGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si8930688ejr.343.2020.05.12.18.18.59; Tue, 12 May 2020 18:19:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731840AbgEMBQ3 (ORCPT + 99 others); Tue, 12 May 2020 21:16:29 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56812 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728131AbgEMBQ3 (ORCPT ); Tue, 12 May 2020 21:16:29 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 78BC3C26F9F57F05C158; Wed, 13 May 2020 09:16:26 +0800 (CST) Received: from huawei.com (10.67.174.156) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Wed, 13 May 2020 09:16:18 +0800 From: ChenTao To: , , , , CC: , , , , Subject: [PATCH -next v2] rtl8187: Remove unused variable rtl8225z2_tx_power_ofdm Date: Wed, 13 May 2020 09:15:29 +0800 Message-ID: <20200513011529.27966-1-chentao107@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.174.156] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fix the following warning: drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:609:17: warning: ‘rtl8225z2_tx_power_ofdm’ defined but not used static const u8 rtl8225z2_tx_power_ofdm[] = { Acked-by: Hin-Tak Leung Acked-by: Larry Finger Reported-by: Hulk Robot Signed-off-by: ChenTao --- drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c index b2616d61b66d..585784258c66 100644 --- a/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c +++ b/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c @@ -606,10 +606,6 @@ static const u8 rtl8225z2_tx_power_cck[] = { 0x26, 0x25, 0x21, 0x1b, 0x14, 0x0d, 0x06, 0x03 }; -static const u8 rtl8225z2_tx_power_ofdm[] = { - 0x42, 0x00, 0x40, 0x00, 0x40 -}; - static const u8 rtl8225z2_tx_gain_cck_ofdm[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, -- 2.22.0