Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1187934pxt; Sat, 7 Aug 2021 03:26:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbCChwQ0ShIDUhqiA7h8Q2IA46UHyqdgWPmNkVcjPNhpt86b53KR8Ba5HjdRVchL5e4d94 X-Received: by 2002:a6b:8ed8:: with SMTP id q207mr87746iod.29.1628332010762; Sat, 07 Aug 2021 03:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628332010; cv=none; d=google.com; s=arc-20160816; b=Bqwtf4uoXiJR/+KT0f/x9uQeOPTCWFgAFnG4xXw0Lqi5D+qDFmh6fYHVFvI9KeXzja DrFLsSiEIFX8n3UbakFVpuxqO9aXv86TdhC/LHAh0sTVa9s8kVe1NutJCE69iPrMtDAV jszOTKg7XIUHJMD1RgsIJWhBqVXBaLJ3VQglNz/KJZQVbV4DmZX5wiaxRpPiljr3k1pc WKWpO7QlwF8wMRJZjK4197ONbkT7q6CwWG3Oz+VQZ50gmNk//uehSGtzlyXWFpJb2hXV kCe69MIAIM6FgFXmd/SRlOCbDjFMR/A3RSLbg66U4VNwdXc/jVDzcdsYxnCHVs+F7w5F vTOQ== 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:to:from :dkim-signature; bh=n0WYjDn/Hk7WnWbcRBK4RMrec6sKgFH/C1TYM3Ko0Rs=; b=LEIIDrK7p4fv5V22E3qDoBBDzsxnIm5yOrN1vURKpCZpgUOb4dJHf8YRMpsNbXqa8A /0yWBJpI471YRqEe+yHdlO8204sHkcX904XSRRv+L87yIg6l9J0L36aZhK7V3nNAiUMK Hcn0StfGRISRv5Wb6ZMx/pcWOIxxcVWcX2bl2TUARqpp8Hucxniko199wEnv6QGdiuw6 ocJyYr987BHLd7OPW7u6Npb42XHCMtmmJNUyOlYnxdHJeyXXmUKaXcmSub5osXu6mHdR z4Hm5n5q7i4o/DM+V3OuTFNil/Y/lIGrYtp5l7Hhx5TUpq18pJ36o6XauBq1zH2g15O/ h3qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YQu96Z3c; 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 z41si13405876jah.89.2021.08.07.03.26.38; Sat, 07 Aug 2021 03:26:50 -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=YQu96Z3c; 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 S232030AbhHGKYw (ORCPT + 99 others); Sat, 7 Aug 2021 06:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231935AbhHGKYW (ORCPT ); Sat, 7 Aug 2021 06:24:22 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41F6EC0613CF for ; Sat, 7 Aug 2021 03:24:04 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id ca5so20440700pjb.5 for ; Sat, 07 Aug 2021 03:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=n0WYjDn/Hk7WnWbcRBK4RMrec6sKgFH/C1TYM3Ko0Rs=; b=YQu96Z3cdLcwtD5NV1Whhw/XHd03p2upsUo6L2om93ajP/gv0cY40pyphLgnNsYEkN Qa4K0eDk5mL00leLuZP5kPbciZABvr4RAVj1PhOUqqh40hGn2lDUk+g2dJY8tONl9B4p E1xchr588myR1z//LqrY2jNwaMtWxnO9/fK9uObVEITHgER5yw6Xb16m4Meqn32Auwcv gg0DiwqSh2op0XeYJivNpAiIXAixdRsYIXecJne/KUVRMN5AZlFfEvybGpC/JQBQsEL0 zeihF3ZMAmWwfLdf5B5TEnzrPxvChuEM8O1zowDn9amlDD3uEXDzW5nHilrMg8bd2pcn RjcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n0WYjDn/Hk7WnWbcRBK4RMrec6sKgFH/C1TYM3Ko0Rs=; b=QAui4Sz/qU6C3xHEZ0womF9CMIpqN45Ilh3l1jcfZ6iMYhHo4XpahPwl8nxwvnP7FS gTekBcADe/q7q4WO+6/FzSXSPA9DbqmbJlA5Ko6xDoFP1M7Xxvhozobs1w7VA3o5+cWp shhh9bk07jql2B2FkGHVmpYcZqsf91a8RaV/rUuXZmR509pWDXbfTh18Yx0rWNqTgRoJ bi7Lm+0ezWbQ0jgKJSld03XM1neBW6jvwC6zkItvG5owE7RPI+kFjHE19xV32wplxu6I 5GtpUoU2XDLfx93phxWrVv+8/P+558s83nu+zW+5CDF7ldfpYoxyr7RJPqtIT1mWGGWO 2cAA== X-Gm-Message-State: AOAM532B0Sulrq6NH3joaVCzQCygiuItcggW4Xq8kR4UNTGDo/qWgRPQ aCaI26CT1es/6bQHDXXVdwk= X-Received: by 2002:a17:903:181:b029:12c:e578:5a4e with SMTP id z1-20020a1709030181b029012ce5785a4emr10570478plg.12.1628331843823; Sat, 07 Aug 2021 03:24:03 -0700 (PDT) Received: from user.. ([106.212.234.168]) by smtp.gmail.com with ESMTPSA id d17sm13290717pfn.110.2021.08.07.03.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 03:24:03 -0700 (PDT) From: Saurav Girepunje To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net, saurav.girepunje@gmail.com, insafonov@gmail.com, straube.linux@gmail.com, martin@kaiser.cx, will+git@drnd.me, dan.carpenter@oracle.com, apais@linux.microsoft.com, yashsri421@gmail.com, fabioaiuto83@gmail.com, marcocesati@gmail.com, ross.schm.dev@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] staging: rtl8723bs: os_dep: remove unused variable Date: Sat, 7 Aug 2021 15:52:32 +0530 Message-Id: <20210807102232.6674-5-saurav.girepunje@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210807102232.6674-1-saurav.girepunje@gmail.com> References: <20210807102232.6674-1-saurav.girepunje@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove below unused static variable from os_intfs.c rtw_enusbss rtw_hwpdn_mode rtw_hwpwrp_detect Signed-off-by: Saurav Girepunje --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 724909078d80..71c9e7eec206 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -109,11 +109,6 @@ static int rtw_antdiv_cfg = 1; /* 0:OFF , 1:ON, 2:decide by Efuse config */ static int rtw_antdiv_type; /* 0:decide by efuse 1: for 88EE, 1Tx and 1RxCG are diversity.(2 Ant with SPDT), 2: for 88EE, 1Tx and 2Rx are diversity.(2 Ant, Tx and RxCG are both on aux port, RxCS is on main port), 3: for 88EE, 1Tx and 1RxCG are fixed.(1Ant, Tx and RxCG are both on aux port) */ -static int rtw_enusbss;/* 0:disable, 1:enable */ - -static int rtw_hwpdn_mode = 2;/* 0:disable, 1:enable, 2: by EFUSE config */ - -static int rtw_hwpwrp_detect; /* HW power ping detect 0:disable , 1:enable */ static int rtw_hw_wps_pbc; @@ -159,9 +154,6 @@ module_param(rtw_wifi_spec, int, 0644); module_param(rtw_antdiv_cfg, int, 0644); module_param(rtw_antdiv_type, int, 0644); -module_param(rtw_enusbss, int, 0644); -module_param(rtw_hwpdn_mode, int, 0644); -module_param(rtw_hwpwrp_detect, int, 0644); module_param(rtw_hw_wps_pbc, int, 0644); -- 2.30.2