Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4697354pxj; Tue, 22 Jun 2021 06:12:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNVtMcQvUPMoymEKBjZs/W27wU7SNs+EEzUX/k+Q93RjwewONin+fbtKLgQcsX3+pj+uu9 X-Received: by 2002:a02:c906:: with SMTP id t6mr3964825jao.117.1624367531201; Tue, 22 Jun 2021 06:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624367531; cv=none; d=google.com; s=arc-20160816; b=CKTsDEtZserNi9DfeeQs7KeujCMTDaVbc4wNMa89CRd1vyu1xPhGgOhfENEPCrP6JS hA4ZNj4W0QdzQv5Tpf1AcolO3/VqHp25p/uocgxzaNvpQykNhGfaVPgNQ6YIfhDaiK0X iv9u9TI8d3EivMmDKHiqQO5tHGwXKUrATUSkkFN/IhmVxPD0lWn6Kyt3FK5TF+Z4GvC5 SHIN3piXSQK9i5/6ysSix+hVKnxnYqpo0pjyDX0zN4wJ9P3YW6uNP8hBuKCi9/p9mb4j gl6ig1IDeC6P6XmqU6iu9QOpQhdwkB4BiUF8Z5I37reb1nyMCm5kKL/OqJ72ntzsLkIz PU+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7a1RBDBYhuIJn1PW20GeA3uF2Znuq27Dnh+SWYloe64=; b=KxvWL7BOZYU9QeHpTNSoA5i0oFsBBmeIzTi4OHqMFK2A67+veUU7S0ZSX3CCdxFOK7 z2114N/c6mBrWL4jodhE3fXJzJG8d7Cv/Zjx9clJYXCT0dU4sHjjb8M4kIgQ7ada8XRF Q0JZHQCANrG/9w55ThlklYTalxEFc/UiDTS1OnjHp5cIjXsWNdIy7y+JbxOL8SqNFlgC zVLpOAddNIxv9yPI3jAUgnyHYrl/Vd/OxWJ9SJ4NebMZhZ80G1II/iPeNRtQ9FfJBejg 6HSJbZCzBqYxS9CGcdk1d3wyD4riEyIwVxQN3icOuS0U4nOFGXqfv28vDLI3JEMmdlJf Hv5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="A/EomCwh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si21123318ioh.24.2021.06.22.06.11.58; Tue, 22 Jun 2021 06:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="A/EomCwh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231410AbhFVNNL (ORCPT + 99 others); Tue, 22 Jun 2021 09:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbhFVNMg (ORCPT ); Tue, 22 Jun 2021 09:12:36 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19E5FC061767 for ; Tue, 22 Jun 2021 06:10:20 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id m18so23611649wrv.2 for ; Tue, 22 Jun 2021 06:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7a1RBDBYhuIJn1PW20GeA3uF2Znuq27Dnh+SWYloe64=; b=A/EomCwhG/jVcazg9uARSbsGmPAKruM8Q7V0C/BW1clHJRqVXo/dqZuydG1DQ66eYk YkmfbXvXFTSrQh0cdbv5nm58ABK48UtwFKLdxl3clZvH4o7tCjmuIsqGQZfKR6j74F5G vc0PZEmYTfbmpt5HMd+k70Dk9kAANk5ZF/K4IkDkEGeEhhH1xWYGkxyNV6wjElvttA2Q qS1DlPpqKzmgEdWhTYQUaRLUj9gzM//VW+2VbIb0CD5sNEQT3TTjGh2xGqxvdiTfcUVV /SGyFX+sxrBl0J81Ki7ok2HnWnb6+DGtne3HheohYCXQfS5GjkmEfwp+xYMDGQN6COJS i9kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7a1RBDBYhuIJn1PW20GeA3uF2Znuq27Dnh+SWYloe64=; b=IUaOoOwBtQLnbPFnXjzz2P636F/YZLby6k9defn6RQSfdP4x6WdiUWE3JKYtR9JhDM Dl3G8tILE0GTF2ARH44AxVu1aIjY3WXu9TbYxeErFHzFRg6Xg/bmSVCWqt71ix3VhFaK aDdugFIV07VP2l4RmSpBUBA02QHXzX4jryZd26VukdRpV2MLZhyiWh/8DJ01truYd4rZ tCcvrwRnLC0w6M2KTm35bNMxquLs39z07Eyz/jz1t9FaP8ocFdh2xDemawNzNRCuwSd9 KtB4ztkSlKWMAB/p29r2rhZ52tV7bEvkL4A343jdxdYvVp3A1HH62X9F6uIKYigH+TBU 4KYQ== X-Gm-Message-State: AOAM532LSwb9dH4vQCfaERmJx86bAopYVtAQrxre1kau3cPUhFkNkXqu Empj55RuTbr9T40bIGXzbAoPGn9qPBJRAQ== X-Received: by 2002:a5d:5919:: with SMTP id v25mr4570391wrd.319.1624367418504; Tue, 22 Jun 2021 06:10:18 -0700 (PDT) Received: from agape ([5.171.73.108]) by smtp.gmail.com with ESMTPSA id w9sm15630625wru.3.2021.06.22.06.10.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 06:10:18 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v3 10/17] staging: rtl8723bs: remove some unused 5Ghz macro definitions Date: Tue, 22 Jun 2021 15:09:54 +0200 Message-Id: <8d2933555170e5f206b9198a203e8a31ee2b7702.1624367071.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove some unused 5Ghz macro definitions. Fix comments accordingly. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/odm.h | 1 - drivers/staging/rtl8723bs/include/Hal8192CPhyReg.h | 2 -- drivers/staging/rtl8723bs/include/hal_com_reg.h | 1 - drivers/staging/rtl8723bs/include/hal_pg.h | 2 -- 4 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 788fc1c068b5..afb36de7a4e5 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -628,7 +628,6 @@ struct fat_t { /* _FAST_ANTENNA_TRAINNING_ */ u32 MinMaxRSSI; u8 idx_AntDiv_counter_2G; u8 idx_AntDiv_counter_5G; - u32 AntDiv_2G_5G; u32 CCK_counter_main; u32 CCK_counter_aux; u32 OFDM_counter_main; diff --git a/drivers/staging/rtl8723bs/include/Hal8192CPhyReg.h b/drivers/staging/rtl8723bs/include/Hal8192CPhyReg.h index 4b3a7c051630..aad962548278 100644 --- a/drivers/staging/rtl8723bs/include/Hal8192CPhyReg.h +++ b/drivers/staging/rtl8723bs/include/Hal8192CPhyReg.h @@ -558,7 +558,6 @@ #define b3WireRFPowerDown 0x1 /* Useless now */ /* define bHWSISelect 0x8 */ -#define b5GPAPEPolarity 0x40000000 #define b2GPAPEPolarity 0x80000000 #define bRFSW_TxDefaultAnt 0x3 #define bRFSW_TxOptionAnt 0x30 @@ -577,7 +576,6 @@ #define bRFSI_ANTSW 0x100 #define bRFSI_ANTSWB 0x200 #define bRFSI_PAPE 0x400 -#define bRFSI_PAPE5G 0x800 #define bBandSelect 0x1 #define bHTSIG2_GI 0x80 #define bHTSIG2_Smoothing 0x01 diff --git a/drivers/staging/rtl8723bs/include/hal_com_reg.h b/drivers/staging/rtl8723bs/include/hal_com_reg.h index b14585cb0233..b2f179b48019 100644 --- a/drivers/staging/rtl8723bs/include/hal_com_reg.h +++ b/drivers/staging/rtl8723bs/include/hal_com_reg.h @@ -717,7 +717,6 @@ Default: 00b. /* BW_OPMODE bits (Offset 0x603, 8bit) */ /* */ #define BW_OPMODE_20MHZ BIT2 -#define BW_OPMODE_5G BIT1 /* */ /* CAM Config Setting (offset 0x680, 1 byte) */ diff --git a/drivers/staging/rtl8723bs/include/hal_pg.h b/drivers/staging/rtl8723bs/include/hal_pg.h index 0b7a8adf5c74..2d8ccc9ddebb 100644 --- a/drivers/staging/rtl8723bs/include/hal_pg.h +++ b/drivers/staging/rtl8723bs/include/hal_pg.h @@ -16,10 +16,8 @@ /* For VHT series TX power by rate table. */ /* VHT TX power by rate off setArray = */ -/* Band:-2G&5G = 0 / 1 */ /* RF: at most 4*4 = ABCD = 0/1/2/3 */ /* CCK = 0 OFDM = 1/2 HT-MCS 0-15 =3/4/56 VHT =7/8/9/10/11 */ -#define TX_PWR_BY_RATE_NUM_BAND 2 #define TX_PWR_BY_RATE_NUM_RF 4 #define TX_PWR_BY_RATE_NUM_RATE 84 #define MAX_RF_PATH_NUM 2 -- 2.20.1