From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1A6970 for ; Wed, 4 Aug 2021 14:22:08 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id e21so3167787pla.5 for ; Wed, 04 Aug 2021 07:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=n0WYjDn/Hk7WnWbcRBK4RMrec6sKgFH/C1TYM3Ko0Rs=; b=lpD5Ve14VY80a7nbPg5IGwwxlbAy9J5Cul+mWTcEk04uYNulKBFe6uXYlfKeDwKDIt 4kYfy8npJ+Z0S0mB1eXfMaT78akBvzdqthRPkia0TK7G8Mp2vcgLxO1sAtd9f4EdUXV+ 8hEfyvJ2WIroBa78qYBgX3ZuZSJbQ+9bmJWTRB1JS+BQgLQ30HR2hwK/HksKSZ35BmGJ RZ5MPfuCh8I9N/V/YgzjZTD7DbYImQo+WdDMWjE3JJIkwUJA9f+feSEvX7HRS7n2KWTn QFxP+5LfCc1xla7bFrHspG8kKZGl1X8RNh/PxAnVLcIMldHDGGeUzHT9Lb8sJ3QfBpwo yppA== 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:cc:subject:message-id:mime-version :content-disposition; bh=n0WYjDn/Hk7WnWbcRBK4RMrec6sKgFH/C1TYM3Ko0Rs=; b=JLlcelGM+T9i/uiV5ZgcDBD7HRiuqNtMN5e1Ae0+cChbRnAieKKANWSTaHOuGPxi+v xT2mhfzBOpVJnMLibBXTfRrIWlaLyPAyriKkADGm3HGo/8jmTK//ma13aAWAYXycy8xq IN/eMPPD7emr9DwpemlOT+4YxO09vtgokWwQPqBZECDJbXjGr2Zrog+K9jQkNJxcttnb 8nY8BzNDzSaVyZG0wnwwEBlaJl/pkTkIv2ClGDMfOQIH3FKB29mMEwShltFl6f8Pe5v6 PDYXrfzakh1p0fmLA7o6k1Un3PTbXfewpB8bp7CmhifBGVNI+ETi0wEnZHGUXtZEuRDJ xXZQ== X-Gm-Message-State: AOAM532THi06ikgZ20WJ62D/8JR0j08LJR2JL5CwydEeVSx7HCQfw4vi XkZ7cV6tDux2DjbeqMb5zBE= X-Google-Smtp-Source: ABdhPJz4tO69xbVlNbbINXuBQR5/4rmJSU/BIK7B2v2hJbwTfK8QH08fVrsbi8Lj9c/Z7uvp4d30Qw== X-Received: by 2002:a17:90a:d596:: with SMTP id v22mr10256557pju.51.1628086928254; Wed, 04 Aug 2021 07:22:08 -0700 (PDT) Received: from user ([106.212.234.168]) by smtp.gmail.com with ESMTPSA id j3sm3309399pfe.98.2021.08.04.07.22.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Aug 2021 07:22:07 -0700 (PDT) Date: Wed, 4 Aug 2021 19:52:02 +0530 From: Saurav Girepunje To: gregkh@linuxfoundation.org, fabioaiuto83@gmail.com, saurav.girepunje@gmail.com, marcocesati@gmail.com, ross.schm.dev@gmail.com, insafonov@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: saurav.girepunje@gmail.com, monu.girepunje@gmail.com Subject: [PATCH] staging: rtl8723bs: os_dep: remove unused variable Message-ID: Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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