Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4697592pxj; Tue, 22 Jun 2021 06:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGCil43ikkprYuugF3MtBNkarSXuTilnrxOb04hzXfMrByJmbHoU9UzDpgpEAXuXnSztLL X-Received: by 2002:a5d:8190:: with SMTP id u16mr2906903ion.158.1624367545204; Tue, 22 Jun 2021 06:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624367545; cv=none; d=google.com; s=arc-20160816; b=QGt1iHkdfx9SFOynY3jkVthuwe0Lho0Ge4IRBt819M0nmCRwlZhloW1AEzMd5fs38a zC47xFp0Monn+d3G6ZT1Rklwr5DBtExeFNgB4sTeHB74eNEvSFyxZwfVHuIm/YBOVjRr 9OrMgcv1sJmEfESqp4EHx/HC5akrgU36PlRBgD7YMTBEX2d5YqKmnE3t2MuOqlYKN7+o JrKNhSZBkVhdG2utj/zdHKSz5Gx+mqmYO+3UFuLGDB29VRQl1SK85SrfCan+BqxmHc2f beFWmWGXWkrk2oh5NlTfWeMcAC3hA6O7dbUmL28u2tfUVK2iTIbXN4VEUvtaZxwOEjN4 Kijg== 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=3vV2U8AiPVrINMpNtQIz9UVvV3NauTZiADFopAb6V3Q=; b=Lf5YyXfC8tRn09Sn5Hbu+ii0QV05V+4QsOCIe5YdJZBMRDTB+uMq4kNJuB8vc3BfYd Sysgmkn2xsE1ola2uLlLyrnmHa6/gHU4woRhalNkFlQyz6gIYqGj6jRtVASQ9KYpNsAM 7v2jGH7Do12u2OQwPnNExPGd4GTlr9NA/QZht6P2Zhofnu0ek+tk7zJz+bX9NDeJ5uzG 9t6PNJsXPLfbCv4jRrU9TcfciNEC8IHAwqc9cM9chYopFQoAmuq6/IRakHhIPVksISdn pKD9t8t09R2fDl0psFlCCnTXmezqpx0UjrCx3bNENpod8RXVoHia1G0cuhXHIFi/llEO C9Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rv+AZfqq; 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 j1si19765113jat.105.2021.06.22.06.12.12; Tue, 22 Jun 2021 06:12:25 -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=rv+AZfqq; 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 S231761AbhFVNNZ (ORCPT + 99 others); Tue, 22 Jun 2021 09:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231327AbhFVNMm (ORCPT ); Tue, 22 Jun 2021 09:12:42 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B42EFC061574 for ; Tue, 22 Jun 2021 06:10:24 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id m18so23611975wrv.2 for ; Tue, 22 Jun 2021 06:10:24 -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=3vV2U8AiPVrINMpNtQIz9UVvV3NauTZiADFopAb6V3Q=; b=rv+AZfqqrRzYV1G+1LIbavYJpuI3WFJ0IgbC1+2ME6SWpEI8vgeDbg/3+NY9bUT5IE P6Ye0DDelUDINevIlSUzCwRNxh1eZ9yl8yNXFmnsKzDDz7GxKpZPETi/TSB4sURZLUzQ EawEdOl0mFXEOysaaCRrXjllBWs2PeZC8/nPs3kQbx6Vzh/egz4zutLcTCniVgK9tk4o 6pbb8jW1T99ZLArKyLT84R23N7wL5bYtAAMZSMF5JJibxaUj6l+LRiearuoXbIYliEmH ENcbZUU7tndpXSp9pZml3ZI5CKJrOppmSg1nRw2VpRzO2HQXkItam0ATV43Cj5Zkhd+o S0QQ== 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=3vV2U8AiPVrINMpNtQIz9UVvV3NauTZiADFopAb6V3Q=; b=F04AJ3CywA4kg/ugG4ZkzbDU2sF6F9LZNZ/xqduflAAqBJ0y5SvVAI5I1G6dWOj1n2 ctLTbpn+XeuJdD8kPnkCx+Vaz8KOsteSlkWojujujdSHTzHwuSrhauZPb3M4WdWR3beC hispTIcs/UiODzn8WRqsqs9/nF7nCfgLc9itTAB+47V+Dj3WLM8KkE7muaLO2TJPzgco vGCvR5q+kcInTOu2cb7FZABTeDW4v9kZog3XRcPQXUDna9Z3uowqpefdkzsFSMNBXRon 5y4+cfS3aYCNzkDG6GD1N9L8vGXJ4yZZ+5UgHB7SKuxEkqJcLkus0dAfyMGhCM6gQ5LZ sDTQ== X-Gm-Message-State: AOAM533OJQjGpyskJqgdVYwJQFKXNJa5GgVU4sxgKJrZ2Bh0M14IuNtQ SVbK2829j1imy+9PQFDJz1SiB3X27Q/f0Q== X-Received: by 2002:a5d:50ce:: with SMTP id f14mr1793742wrt.259.1624367423128; Tue, 22 Jun 2021 06:10:23 -0700 (PDT) Received: from agape ([5.171.73.108]) by smtp.gmail.com with ESMTPSA id e17sm23470996wre.79.2021.06.22.06.10.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 06:10:22 -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 13/17] staging: rtl8723bs: remove unused ODM_CMNINFO_BOARD_TYPE enum item Date: Tue, 22 Jun 2021 15:09:57 +0200 Message-Id: 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 ODM_CMNINFO_BOARD_TYPE enum item, fix comments accordingly (given that 5GHz code isn't supported). Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/odm.c | 4 ---- drivers/staging/rtl8723bs/hal/odm.h | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c index 4c959efd447a..68dfb77772b2 100644 --- a/drivers/staging/rtl8723bs/hal/odm.c +++ b/drivers/staging/rtl8723bs/hal/odm.c @@ -884,10 +884,6 @@ void ODM_CmnInfoInit(struct dm_odm_t *pDM_Odm, enum odm_cmninfo_e CmnInfo, u32 V pDM_Odm->AntDivType = (u8)Value; break; - case ODM_CMNINFO_BOARD_TYPE: - pDM_Odm->BoardType = (u8)Value; - break; - case ODM_CMNINFO_PACKAGE_TYPE: pDM_Odm->PackageType = (u8)Value; break; diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index a5bca7d7826a..c349de205f93 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -291,7 +291,6 @@ enum odm_cmninfo_e { ODM_CMNINFO_FAB_VER, /* ODM_FAB_E */ ODM_CMNINFO_RF_TYPE, /* ODM_RF_PATH_E or ODM_RF_TYPE_E? */ ODM_CMNINFO_RFE_TYPE, - ODM_CMNINFO_BOARD_TYPE, /* ODM_BOARD_TYPE_E */ ODM_CMNINFO_PACKAGE_TYPE, ODM_CMNINFO_EXT_LNA, /* true */ ODM_CMNINFO_EXT_PA, @@ -461,9 +460,7 @@ enum { /* tag_Bandwidth_Definition */ ODM_BW40M = 1, }; -/* ODM_CMNINFO_BOARD_TYPE */ -/* For non-AC-series IC , ODM_BOARD_5G_EXT_PA and ODM_BOARD_5G_EXT_LNA are ignored */ -/* For AC-series IC, external PA & LNA can be indivisuallly added on 2.4G and/or 5G */ +/* For AC-series IC, external PA & LNA can be individually added on 2.4G */ enum odm_type_gpa_e { /* tag_ODM_TYPE_GPA_Definition */ TYPE_GPA0 = 0, -- 2.20.1