Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1251715ybi; Sat, 27 Jul 2019 05:49:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdtQts3E3JWU1FI9ilvYNgVVr8Teztqk5+lYJJ6xO3nd2cuFW8nxRbeXY7hnaJ3y8C3bof X-Received: by 2002:a17:902:5985:: with SMTP id p5mr5097096pli.177.1564231797329; Sat, 27 Jul 2019 05:49:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564231797; cv=none; d=google.com; s=arc-20160816; b=jETpN7pSOMq5Af01LiqVeDXTgXPM98yUhb4hxlEUHQYTQWfaqDBkPd7vPnTIpIo7In Y3eBmupOJX10Wv8NySC8jA/oiJ5FjBt5COV0f6H+BykxF/f2dsl3L/bGL0mmqaH6b28H buqDZ3m2eFbjqybtAOqh50F1cS/umIfNsm4UqWCIEZyJookJLAbD69jesahk8sJsBC0J yCtQqlPDVN58dN7LYi+UuaZ0vI/pVDRlzRwSfw77+5vHvgJTiY3MuBSX2Sp19WjANakj xpRQ6MmiQtdH/gNPyweLC13j7Xe2GDAsjWIS6yN+s29XjAZ1F9ut3hB3P4rdcKmfShjP w4fQ== 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=vCgH18Sx+HG3PjjMYsyJR+T5KOZZ1lCW+dOldljDzvU=; b=Zrs7F6oKfmIHIqjwOUMZtN3T6vlyrt919BJdMiISEdlwZqQo9lHmKympNGmUNGm/mG LMjhQE0owYgbrh3TS4ZewDZ4CpSa2ZxRrSqgjVSkl9EMtfAB/FWazTJGMX+cyJk80IQF los/DKh1XHMMxnKD6yQzjsRzyZT2kpxIWA0zV9YLGcW5HszXhn3hOdpoLrDuJ/0d/yXD v4b9sD508C6VJUTk/RWvztmzV9xrL4gp5IP68YJPlDcqmRa4qcYdh5iNQqDZlxd8aLzN csdz5vGATFT/FV2IfBeoDedZasEexzpyBlk/hPo+6YQZhwvM6SY5rnuTo4WaiWCGArpB bjYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="XJc/Z0Ea"; 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 b23si19465133pjp.62.2019.07.27.05.49.27; Sat, 27 Jul 2019 05:49:57 -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="XJc/Z0Ea"; 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 S1728883AbfG0MrE (ORCPT + 99 others); Sat, 27 Jul 2019 08:47:04 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36028 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbfG0MrE (ORCPT ); Sat, 27 Jul 2019 08:47:04 -0400 Received: by mail-pf1-f193.google.com with SMTP id r7so25783407pfl.3 for ; Sat, 27 Jul 2019 05:47:03 -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=vCgH18Sx+HG3PjjMYsyJR+T5KOZZ1lCW+dOldljDzvU=; b=XJc/Z0EaEU4mkmhHwZ/sDYw7Vun3wx5kEA6+/KUnOX5FT9/bJyQQBGulBfHXI8kosg TLWKOD5Y0oYcoGvxX1v42XNkBbDqmDQ/4jqera5P5HKX928NIztp1ZGtwDEIl3ASg1js 2BzR/1pDU/t59iX0oozRc0aTAv03WSNsewRwk5mpo0241UvBPKBxu+aW9nHBtFKLP0me pz+JXZa3xKSqNqLimzJDN8AcYBToC6KngjJsVb1QQfiVhbN7RgS/4QveJmSymeX5+eds q0Iad3lexazmGkmtNuQkIwtHO+4XBzPxCuDRZWTd8N6OtQFGLIr6QwF5+p0urMicmwuY cpOw== 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=vCgH18Sx+HG3PjjMYsyJR+T5KOZZ1lCW+dOldljDzvU=; b=QD5JUTQDSIIotEbVt/9K5XqOPn3gyBRFkVIo9scjuMVPD4h9VuPJFC4lQNg9tTw6zP Hj1+Sz7x5kAYNHP8Qnx2J7agUv2ya1GbV7O+GLFCGrxc8Ouz5bOPDGZZbWmDOybCCb3W qAfGyksTnYfl95nl7rjaoPkFQY/KotZkGNMQYW7hBP/dlo0srKRLPOIqtfFKLcUsWrip p8ncQ8kFkcemnFQSKTuhOPhudxGmP9uMhcKPj7ZX/DL3jX4Z1L18DU5cce4ZesI8fEte Uj1Bzh89czzQ/e8C/fwWZ9MNaCH2S+hJMBD7R0SkFXMshSm92S62dDiuWZVpsD3dcNMj di/w== X-Gm-Message-State: APjAAAWEaulbrBoRHIblufEaHNHB/ei79erVlipz1dDWEv1VmFX3YOFc kKVT3ILCI7JpxfFNQOtRZO4= X-Received: by 2002:a65:46cf:: with SMTP id n15mr1881375pgr.267.1564231623635; Sat, 27 Jul 2019 05:47:03 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id e189sm34311617pgc.15.2019.07.27.05.47.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jul 2019 05:47:03 -0700 (PDT) Date: Sat, 27 Jul 2019 18:16:58 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Larry Finger , Puranjay Mohan , Jeeeun Evans , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: os_dep: Remove unused defines Message-ID: <20190727124658.GA7829@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 --- 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