Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2473849pxj; Sat, 19 Jun 2021 13:29:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuRz9oijMZVl5nGFh2uTxcoNUCRdkNJafzjAmmDR5as856ZjwIw7SDwVPsP16YRS+CobE1 X-Received: by 2002:a05:6402:419:: with SMTP id q25mr12391397edv.331.1624134543482; Sat, 19 Jun 2021 13:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624134543; cv=none; d=google.com; s=arc-20160816; b=UB4kDc/uxaaRITeGF1aOGE/HRjuQuGsJSJZ6CllLHTQpJQgdBrgzg/jWLei5X3gqVS xZkFojEXUmNaBAUkH3x3ff0IbXt+VBoYS4IEZDVbCBDxs2q4UV3llXy5d9BBeT4gbwIQ sLlUVq62VcMcdZzF52QHDUUGbKXSJYu25M46hlU6yiuz4X1jCqupPWwd1d15vbpt2dfU mXnUpzjdIdHA4F0VTQansj64S8RhunmSjhZowsDOHv5QW6epFCKNpdd6WEJqSlv98G5I Vgct65v6oKV5ZDvwRWhQFgpgW3thM/3SyE6mo/gYbnnT1pNuL7gb3aX/DlcLUtJHpxcb dpAA== 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=fuMF6VsqpQHGen6pDrwB6pK2wNwSSnPLXzA/6UmoJDM=; b=D78ut6wXIRd+5c2wdPWvy/Mr0knUq2SsPv7KBrWNWzPH9THPiRd0yth9T/luOlZbsr IoDLUMOCUi49XJHMOXYJbWOuudqfwjlaVQsH9YDCsqZNtoi/raP6nr9fDTxGt5zdTei8 P0w3800RVXz57SJ4oiEIKkL7eWQhDGTuILEZPt5lyR+VxmV1kCPdDisyR0n56C4IstrB 9PdTNo+S9ALtVZKFkiwu5AwKVicqh+SMZjH2F6AKeMjC69vf6FQvD22HVhLi5DRDcQWr SJqrZXTzK+Ti+8rAk1QXq6a4DDAmOwba8hOiZcdZiJtcypo50ptSoy59k7v0CRZ5S81A +TtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TB9O6EbM; 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 w20si12078539edd.408.2021.06.19.13.28.41; Sat, 19 Jun 2021 13:29:03 -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=TB9O6EbM; 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 S233181AbhFSKt6 (ORCPT + 99 others); Sat, 19 Jun 2021 06:49:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232492AbhFSKtn (ORCPT ); Sat, 19 Jun 2021 06:49:43 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 882BFC061756 for ; Sat, 19 Jun 2021 03:47:31 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id t4-20020a1c77040000b029019d22d84ebdso10302499wmi.3 for ; Sat, 19 Jun 2021 03:47:31 -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=fuMF6VsqpQHGen6pDrwB6pK2wNwSSnPLXzA/6UmoJDM=; b=TB9O6EbM//r2ckVijBZKpxGik/U3pQKiV30mWyiYoqiqAwhEtMWeuXIfRZkccyxEMq Osl3ibf++hF1ZKssVJjfnZmJ//wR/5O33NI8oU0vpj3GDb6pZbPD7CPx/0BZyKgXlyVh WUfQPmQmbyDPVTfoLK4Cxme4ZWnPe8I5eyOzwfTWZGcVEXDMIkaxxKoURo2WdLcesiLb omokyUlJA7WL/QWDvEfjjSfI5Vlqw3VkQ1FP13MnEfXUX6i6Vg1iiaibw0ag8LFnIa+R J3Yk8Y/IXDW1kclaWcV9wj3+Nua5pHlA/rCq3Op1mOeC44Bh7JTeb/ToUe8jrA9V/VPf 0kUg== 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=fuMF6VsqpQHGen6pDrwB6pK2wNwSSnPLXzA/6UmoJDM=; b=iO96lTu8SijrzAzqV5JkDbx3R6MvcI5JFIc7IsjjmFSQj6Dkx7sBLFmnOM2O9XSaqZ PEtcWEiqJVAS9+MCFS1pAjALhYdwIuOxE5u2YcGsK5QeMBx995ipJRg3AuII+N87CFLC efEEYza1mbfbSgLzZiCarKrSV8/0UtlFidjwInGyhqRxbuUer0k0q6grBAhqF+lTNRSk e6PY/quWA+AULGT0i/WeHvv+OgvtGXvvGn25ZxXjQDNlK6TyZTX7FicRhUncKkh6AyD8 h0z0ZI/zzLrjxEjaENXZjP8tF1s/+mUfF9ysBPwet0VXn6WvN+iKGRup/1oYlMDjn+GV xF4w== X-Gm-Message-State: AOAM5307Noi0YDt1S4182/uqWIMB8UxAtFwWHki3U0pRu/d4PxhHJqKC qL8ng87HHKhoHn/Ba3TzhpA6SDKC2/OF2g== X-Received: by 2002:a1c:8083:: with SMTP id b125mr15890904wmd.176.1624099650061; Sat, 19 Jun 2021 03:47:30 -0700 (PDT) Received: from agape ([5.171.81.81]) by smtp.gmail.com with ESMTPSA id 62sm11991768wrm.1.2021.06.19.03.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Jun 2021 03:47:29 -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 05/18] staging: rtl8723bs: remove 5Ghz field in struct registry_priv Date: Sat, 19 Jun 2021 12:47:08 +0200 Message-Id: <2d01d07bfad725fd8fd6437a3abe9332a781bd4e.1624099125.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 unused 5Ghz field in struct registry_priv. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/include/drv_types.h | 2 -- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h index 02df5bd8f575..895c41526164 100644 --- a/drivers/staging/rtl8723bs/include/drv_types.h +++ b/drivers/staging/rtl8723bs/include/drv_types.h @@ -171,9 +171,7 @@ struct registry_priv { u8 RegPowerBase; u8 RegPwrTblSel; s8 TxBBSwing_2G; - s8 TxBBSwing_5G; u8 AmplifierType_2G; - u8 AmplifierType_5G; u8 bEn_RFE; u8 RFE_Type; u8 check_fw_ps; diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index a06c8b1beb01..648456b992bb 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -289,7 +289,6 @@ static void loadparam(struct adapter *padapter, struct net_device *pnetdev) registry_par->RegPowerBase = 14; registry_par->TxBBSwing_2G = 0xFF; - registry_par->TxBBSwing_5G = 0xFF; registry_par->bEn_RFE = 1; registry_par->RFE_Type = 64; -- 2.20.1