Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3284470ybi; Sun, 14 Jul 2019 10:32:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmquGvAgp9kLWpYuKqa+MgUOOhtVdOksQprQoC6Kk1T3BU3FrU+kILd7BFukHnMDEX8Ken X-Received: by 2002:a17:902:204:: with SMTP id 4mr23260003plc.178.1563125560846; Sun, 14 Jul 2019 10:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563125560; cv=none; d=google.com; s=arc-20160816; b=SlH+fHMKr36WGwfNC3R9PTFUrfsrYWU3F0LXG8zOqjDl9RnmhCorej8T3la2qrZ6bc MpRYnl7BCQjyMoS4cZkr3GdY1WRk+mqKPhp7bEAwbuJpx0RzZj4ZUmnXD+GA4mPX8/vL FaC8LoQVucgJt8Ib9udH/jo8amGdC5N7PQBnfvGhKWP+nMzzzleCm4WUduues/qFM0JL +gz4XCashUugylvJMttITz35lcU/WJ+cNMSJjh+uGmuXgioBux2ogRl6ZgoQO1uLNbPD lH0+6i2xtYSWbvzXvA1BGsLg9GAYfw+kNl12cEJhNbNO6ehw1pnMjMNnqN4MlcgPON4c vEMA== 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=XIexvq8195z5zdBnYHep1y5JG5Az7y2M3zNWSTA+XWk=; b=tTriImT1Da3I3CHYwZTNzxTQc0KKTMCFLHDkI6P1VdSteRZjttyYeL0uNE6btfF7BK DGVozOEJuDQG9bttDHJQcnAdTYdnlZJNbqhZQ0r3mGwphPcc2nsoZhPGONFmMUPE6lcU mGI4qa07tvFnwOcJ+d7SbQlBDrMmRogch4Xyub6hpJnuvRihgcgdNO7dpIy8NZG2sfCV WR+3UoIeXU6pi3ZRBMdhqW8n9RgdyImC3e/6kHsyws/w3ExKwRRUAmDLE5Wv442Wyaz3 QnVRkp6MjHLna/dQOXOK+RwPoIJgtXh31Dst0zMSUgHb2cr+TJ6DhWbprXfkL/8ALEI0 ji7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nxL3DwpI; 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 t11si14519166pgc.238.2019.07.14.10.32.24; Sun, 14 Jul 2019 10:32:40 -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=nxL3DwpI; 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 S1728719AbfGNRbl (ORCPT + 99 others); Sun, 14 Jul 2019 13:31:41 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:43629 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728164AbfGNRbl (ORCPT ); Sun, 14 Jul 2019 13:31:41 -0400 Received: by mail-pg1-f196.google.com with SMTP id f25so6610288pgv.10 for ; Sun, 14 Jul 2019 10:31:41 -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=XIexvq8195z5zdBnYHep1y5JG5Az7y2M3zNWSTA+XWk=; b=nxL3DwpINsiYf4kiJNJi3FOhugldoiw4H3VkM0UQBEUSmx6rZcI5sVgCUooFSq3V3g i+eTnT6NjJLb095llK7Z/ygc1nSahLW8TfMEzsjeFD7p+/dgzd867PEmNHhJoL+oQvyu PMkhZtwuB7j+y+BlQ1jsZbXVjMP05iIDqTrkgVkNw829hGBO5CmaM2tMRPchVTJ/Y+vf 1QgS/CaLyPZEG0noM3LjWxvJd/pAXVdJNSnNiq4L7TKpIGOumcCgMF2KIXROKaMfoEvB SXSXsaxc9XT0iCr9svWd9frpY1vu/gz90UmvYtFGv2S3A3GPW7hyVzyTIHFPYQLt0gIJ WsXA== 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=XIexvq8195z5zdBnYHep1y5JG5Az7y2M3zNWSTA+XWk=; b=hXLZN/OFfZrHW9A/+o8vsC8b8uXG04eO/9FyEyn5sZnibC/zSI4q8/sbN9zg0bfiUL EB+YVTKUHcdxfuAdYniK0xI+CngiHCSoNI7a0cc6SZosPUax5yIKvdrd26S+ymr1sy5T d1YgrhZkyHdLsuQjn+aED4q5kks/HoJwhbiDGf0+EeO3UoSChgGjegoVvvQbsnsdf4bJ 12rQhB+lLW84DVNgC2C2OWebBnxxl20HBXsnZxON7cOCrsEFkjF7k2CDZ7BB3uH251Xw SQCFL3jsyTkAZgG78j+HA0CdV/sILgM/OF6ShYF3kTMVZY0aVwvAXPLNgqs/ECrowXx6 Wi/w== X-Gm-Message-State: APjAAAWOpqIU5JHM7K+CRJv5ADYZECjBY4YXBY+hSFH+5vU1M7xclQgC veAKd5pY5kbv1dRBvRMapZ4= X-Received: by 2002:a63:2a96:: with SMTP id q144mr11036842pgq.116.1563125500785; Sun, 14 Jul 2019 10:31:40 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id x67sm17593535pfb.21.2019.07.14.10.31.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jul 2019 10:31:40 -0700 (PDT) Date: Sun, 14 Jul 2019 23:01:34 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Shobhit Kukreti , Emanuel Bennici , Nishka Dasgupta , Paolo Abeni , Arnd Bergmann , Madhumitha Prabakaran , Hariprasad Kelam , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, Larry.Finger@lwfinger.net Subject: [PATCH] staging: rtl8723bs: os_dep: Remove code valid only for 5GHz Message-ID: <20190714173134.GA7111@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 As per TODO ,remove code valid only for 5 GHz(channel > 14). Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 544e799..18d61e5 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -239,9 +239,6 @@ static void loadparam(struct adapter *padapter, _nic_hdl pnetdev) registry_par->channel = (u8)rtw_channel; registry_par->wireless_mode = (u8)rtw_wireless_mode; - if (registry_par->channel > 14) - registry_par->channel = 1; - registry_par->vrtl_carrier_sense = (u8)rtw_vrtl_carrier_sense ; registry_par->vcs_type = (u8)rtw_vcs_type; registry_par->rts_thresh = (u16)rtw_rts_thresh; -- 2.7.4