Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6436961ybi; Wed, 31 Jul 2019 14:28:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOxGX9IP5FF5wmcGP1K+gg/foks9vZ/BUk53bVZa8bIee/y5M1M0AEEjGpFIwmTYTMNw83 X-Received: by 2002:a65:6281:: with SMTP id f1mr109062013pgv.400.1564608532578; Wed, 31 Jul 2019 14:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564608532; cv=none; d=google.com; s=arc-20160816; b=McIw048bpCa8pqQbj6ScJDMqI9USLPeg9CXVLXVXV/SdKKyxr08/7mEuda3OKe5D2k B9GxV6wGfClBiQFCfnXxHT4RryLw/K47Xovua1vHYQPWsNyDBw/WhErwfk3c00CB9maM S9MSzzRI4FEn19k421GOJxU9b36t1Hfys9TAqJeZ0zXGNtFFI/3gd+atUZiXjTDAo3un UreQ8qIkK7uUrW+eY18yd0qSP3ekOc4BmWq4yZT+dNEKTqhTOZdy0j2RSGfK/22RuYIP K3f3l+fEzJiKFe+G0USX8CTJfKXQ8DOu/e6Nu9HiB3nBbWX7jmm+hkVF/RGyXkb6dlMh /lEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=C5LUoF9wt23TkOe1qlJjYDBJ8FM6oQedM0HGhfgeOjc=; b=sPwQ2ioNVfE9z6DEb6tID9vXEIpklvA2e/eIxDAMJCvIUtlHwCwXtuh00PQSIgCPuz 3i1V8KYFv/g2viSpCCVvWLd2GM3wbj+5CHxBVMREiG+4RZhOXG2e3Qez43utejrvqHAr h25FjaftreONvSxJQaHijcO9VZxWA/cA0dOA73KbvcxsOyZfHZZs4vqsRjSfeWb5cs/I qhszU5bfsJBjKkTAngGMP1Db0OgXnVZHsdd/g2bGdZ78Td5pASm4Qa4yNVNfwqqqiTdw f58gt/rvIwazgdW6sFxRsM+We5kugpARW3wRYsM7R6W6ARatVuJIL7lhhwZxLlq2eAo/ stsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="aJ/ez4+l"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id c4si34076076pfn.71.2019.07.31.14.28.36; Wed, 31 Jul 2019 14:28:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="aJ/ez4+l"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729209AbfGaSRl (ORCPT + 99 others); Wed, 31 Jul 2019 14:17:41 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44380 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbfGaSRl (ORCPT ); Wed, 31 Jul 2019 14:17:41 -0400 Received: by mail-pf1-f194.google.com with SMTP id t16so32295218pfe.11 for ; Wed, 31 Jul 2019 11:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=C5LUoF9wt23TkOe1qlJjYDBJ8FM6oQedM0HGhfgeOjc=; b=aJ/ez4+lxs7KkM0SRxZVVF6/pqzJevVAc1EBV0/DyYIvbiwmD87VGD+DeBVjPYplFv lxzcNTz3nfFo2jkZQWSKjDpl3frMvGj4VzJV14CN3fhEXTt5hgMcc0GNT3pOxnpZ8GuA oxtHkqXp2oc89c4sDsKRJnz/FVPXZpSNfiBZjJARBlawIuDR9gFY6apTHGkxx8dj5ENk pVPCmwrftgzfb3Ip00rbpL+pDQyazIk4S7gPorocRl/Rlb+8CudlqUo76boF6WwhPcfg 6edqKwE0LOSZShqa2wdXAvvVpYsqEM1nf+9VUsl6n7FKcGY/4iWyuJM7e357GDUmr1iV Z0Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=C5LUoF9wt23TkOe1qlJjYDBJ8FM6oQedM0HGhfgeOjc=; b=TEIoW//e07dFcbLXVvjeDYxpWRHI1Xp/lZ8QaIxqcRTd2DCmlgO/cpt/HH0SkR56Zx C+3720fCdav3ihHMe4T5ZkMrblF2USe2SNajbJiVsmx5LcvYrf2BDmMzItrbzHLm+PtR Ef7CSPiSapgE685k7Q6xNRKjFIt/5RU9CdmQLpHTXmhpmscmCqD+f5Isz7LLijKp8kBj zvpH7yVK+O6UVOfZejHSqv/d9BTHimP7+jGwWSkgTBEvEWW9PJyCPEOVghAPQoAwHZbM +K+4rxrK3TSxvsKRZQ87eoonVI5CWaRFCbAAJBIQKxUylkJSXF3Skyl6meKl4x7gkyDa bFqw== X-Gm-Message-State: APjAAAVX7jrfoyoDh/5G29IcLN0W+ZQk/7exo25y4p4K7PdXv3oXytYY CsBkAFhdhKCLAcbEWLQWY50= X-Received: by 2002:a62:2b81:: with SMTP id r123mr47147570pfr.108.1564597060398; Wed, 31 Jul 2019 11:17:40 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id s12sm69137141pgr.79.2019.07.31.11.17.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jul 2019 11:17:39 -0700 (PDT) Date: Wed, 31 Jul 2019 23:47:35 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Larry Finger , Jeeeun Evans , Puranjay Mohan , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com Subject: [Patch v2 05/10] staging: rtl8723bs: os_dep: Remove unused defines Message-ID: <20190731181735.GA9441@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove below unused defines RTW_CH_MAX_2G_CHANNEL rtw_a_rates RTW_A_RATES_NUM RTW_5G_CHANNELS_NUM Signed-off-by: Hariprasad Kelam --- v2 - Add patch number drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 9bc6856..30165ca 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -19,8 +19,6 @@ #define RTW_MAX_REMAIN_ON_CHANNEL_DURATION 5000 /* ms */ #define RTW_MAX_NUM_PMKIDS 4 -#define RTW_CH_MAX_2G_CHANNEL 14 /* Max channel in 2G band */ - static const u32 rtw_cipher_suites[] = { WLAN_CIPHER_SUITE_WEP40, WLAN_CIPHER_SUITE_WEP104, @@ -73,13 +71,10 @@ static struct ieee80211_rate rtw_rates[] = { RATETAB_ENT(540, 0x800, 0), }; -#define rtw_a_rates (rtw_rates + 4) -#define RTW_A_RATES_NUM 8 #define rtw_g_rates (rtw_rates + 0) #define RTW_G_RATES_NUM 12 #define RTW_2G_CHANNELS_NUM 14 -#define RTW_5G_CHANNELS_NUM 37 static struct ieee80211_channel rtw_2ghz_channels[] = { CHAN2G(1, 2412, 0), -- 2.7.4