Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4697763pxj; Tue, 22 Jun 2021 06:12:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyNF2ErkdrLgalrikA2YKnMst9mcBpWwqja+VKCh13fc79d9/zZ80e3EeD37VedJ53NtMH X-Received: by 2002:a92:d6c8:: with SMTP id z8mr2685460ilp.250.1624367558237; Tue, 22 Jun 2021 06:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624367558; cv=none; d=google.com; s=arc-20160816; b=NvbH9LiVFFIxKendXY3Lz12zZ2W/5jN5wDhpTWry1Z7uo7z515WIxpu4bQNcDOAIt3 gG5QaR0xKiups1f3FnyoPiralXtmdgfNK5Qhv0eZjeIXMVTjQPtAYNBkiGq4bHwqcuU9 y3wFkE5J5wvGn8kvUrp/G6skwVgXH3LduEOv9WFnfruF8XCfhDZIyMlL4DCdy9vMgwqJ 2lPLce1K9kOY1yqywzdFkvDpTNXibtqnKGev4ETBJyrByZt3bxk3mRhmB9iYTn3AYwy0 Pjf//R4Vk6apkc7EQQcUfnUZGjbum2QgDTaHFTznju/OTTkP31R/sRhwntVWmSQSVhEY 8dqA== 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=NzFrqHGl0cYS27Ypm4XF1HD4hXM1cpi1KCAV815SAkE=; b=k8+bdedHe8J8IsyDUGSM2ot0Ju3KbF2NbHqVMARpgIL9LsrBWYt0tNShD2O8hMtEJr Xt6Gk30to4/yF4nBACjeuZRJ7QMm+ztV34u0qCkq0yeVrtBS1EHPGhag90lvvgZ96TDj xcQe4EtSAHjFrpsflZOTLE+TwyhxfSp0GgWiF82JFOzAUmKry8nau/NLiES8qltdxS6H OaAqYUi803VTHcelJPA4y9ffsxieldygqugK6xy1VX3HVQsR+wHP1WlqzEqtLd1uNMtH eJJVrTHmX+f2VczDHzfdv19eRWzv3EZ8v+sa+BxsEglANGPfhZVKzUu0St3sAAsnXvaa Dzhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m3dsRsg1; 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 r127si23800418iod.92.2021.06.22.06.12.23; Tue, 22 Jun 2021 06:12:38 -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=m3dsRsg1; 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 S231281AbhFVNN2 (ORCPT + 99 others); Tue, 22 Jun 2021 09:13:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231358AbhFVNMn (ORCPT ); Tue, 22 Jun 2021 09:12:43 -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 6CB3EC061756 for ; Tue, 22 Jun 2021 06:10:27 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id n7so23615750wri.3 for ; Tue, 22 Jun 2021 06:10:27 -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=NzFrqHGl0cYS27Ypm4XF1HD4hXM1cpi1KCAV815SAkE=; b=m3dsRsg1n3meWWr7UOpxI8c2ZbuWWgT7QaS4DTjMq/7pwvhjhnYKRpXUS+RQVi92Rh DVJWWsyXTlxRoZAupHBKGotTAKp7nGYuZMgzM1LREO7Ny7hNcaLiJJt2wlwwponr9JCE nMc7cm/7YUcbtgJ9YTplUZKBETjxlGQx2mBjoksJkjUKyKpHVygYzuDs4lEDFAuQ5MK5 3Sz5FkGVjeOCBuUyWYM6y1TgYkAIPFnmflqrYr0XZCeLV6BJq7fFB7088MBsf84olAVU VvhWNy3PVvSblXX5O3U3sJXI5gte0ZbnNU/Zhiic4erA+Yb2jv//BZqowZePpa9AK99L LmOg== 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=NzFrqHGl0cYS27Ypm4XF1HD4hXM1cpi1KCAV815SAkE=; b=HQNc52vrv3hXRP8TLTp+pYLdogiZS4vb0zPlaI6WpSP5gg2mr0/2aXwuKr97W7XG8S GpB7hpaRJBMOZxXRCLh4X3ZWu8tst/cdMRGdecxlck7fIa5gQhSlmy59yX9Z12m5lfa8 Ky8lSj2Em7VQPQ5zMygCGwNHBwn24Hmhv2Im+PmmqvQr52UUR9oph5k2NC+4KPl5XaIB dMZicxkiMTt/8NDcO851sXDhX4F8SrqXtNU22XmrpT8XmpapDmnj+6vgbKYdawn99gwu 6WYFgc6EgkqPI2kf7yIfExzCFCpadRPoG5WBs8IoQmpFzDRTx+/H6U3ACpStIDpCAAtk LzCA== X-Gm-Message-State: AOAM5318IO8vxsl+voK9fVknmyEXPEvSAYvW/g5DLMLUAfCWksYAinDa GshWRP+TKdc8QSUde3jYK7VZWktqD9uOLg== X-Received: by 2002:adf:e449:: with SMTP id t9mr4913875wrm.40.1624367425972; Tue, 22 Jun 2021 06:10:25 -0700 (PDT) Received: from agape ([5.171.73.108]) by smtp.gmail.com with ESMTPSA id l12sm21334613wro.32.2021.06.22.06.10.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 06:10:25 -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 15/17] staging: rtl8723bs: remove obsolete 5Ghz comments Date: Tue, 22 Jun 2021 15:09:59 +0200 Message-Id: <608f0b08ffae821d695cb2eadcffbd592912c906.1624367072.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 obsolete 5Ghz comments. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 -- drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 8514cfb3d7e0..427f0b88abd7 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -202,8 +202,6 @@ rtw_cfg80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = { static int rtw_ieee80211_channel_to_frequency(int chan, int band) { - /* see 802.11 17.3.8.3.2 and Annex J - * there are overlapping channel numbers in 5GHz and 2GHz bands */ if (band == NL80211_BAND_2GHZ) { if (chan == 14) return 2484; diff --git a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c index 0084589499b9..5eef1d68c6f0 100644 --- a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c +++ b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c @@ -44,10 +44,6 @@ static const struct ieee80211_regdomain rtw_regdom_rd = { static int rtw_ieee80211_channel_to_frequency(int chan, int band) { - /* see 802.11 17.3.8.3.2 and Annex J - * there are overlapping channel numbers in 5GHz and 2GHz bands - */ - /* NL80211_BAND_2GHZ */ if (chan == 14) return 2484; -- 2.20.1