Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2179684pxb; Sat, 28 Aug 2021 06:56:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1pV8dnP3husfCv5Rn/9pURBqogL6q2LSi0/umZyMup8+6NnmXggIYHZRAkVudPXeOInRn X-Received: by 2002:a6b:fb07:: with SMTP id h7mr11496296iog.201.1630158964872; Sat, 28 Aug 2021 06:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630158964; cv=none; d=google.com; s=arc-20160816; b=NLAsO/dd07V0xlTRtEwCunxrNR3UBvzbNBqzzABJu/g8J3YWr/H5vaN0Lf094JXc9n anemYsQaVJ/NHxYb++m81j7ST+tQofORNm9yKVygdOw2HJSSkw1jSmbpt8nxhDRJ1Erl qFbarUM7kHv4X+WnkeWlEOmd/WLpUT2x0FZAPm77UMou/znEo0GbJmVk6W5H7a4t4DdZ tWKng705nbJVA6usZjFyaFEAhkayWcs4rPtmBpAc5PYdj800Dkyzrk5PDjQQpHctNCmc 78wu4NN2OQ1n4bMXP1WnCy5iVfyQg4kK4eFvt5gn4MF0dXOu272XuFDNolOu1ve1a4dk 6LMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=OMQnxPmF8OiZKGhnGnKVM4JlBZS84L+WD5H+2jD3jdg=; b=WnRKERV6glgrmoemvmnNQhFUFmvcEOBlWroYErqFoYwoJ5ezTw+MuYaEeG8QxYvay+ sIM/vCzyPirrpfSxPSHvGdDst3rPyv4k2axPXsQV1Ai4cyk+ZB8FQYMzjswsLeY+bJcT nLVqU0ZwgREYd1ZKheI6JuXRlr79sDtMqHZ5LfwOxXI+KV9HOHOh2okCRsxVWDpTaMZx rtfqDUIjb89OqeA0PPR8/omtMfzfSQmPDbgw0eq4Y//NAetvYz++tTPmmnV1YaXoT37X 05jA5bQ76PxdTdW8yJJiQldPVz3HygCi5y19Nd/t3yz/uGs40PNjx4KKvTjXmsqEBfDv Yv9g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si9493842ilr.75.2021.08.28.06.55.53; Sat, 28 Aug 2021 06:56:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbhH1N4E (ORCPT + 99 others); Sat, 28 Aug 2021 09:56:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhH1N4D (ORCPT ); Sat, 28 Aug 2021 09:56:03 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D757C061756 for ; Sat, 28 Aug 2021 06:55:13 -0700 (PDT) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1mJynS-0006qF-JY; Sat, 28 Aug 2021 15:54:58 +0200 Date: Sat, 28 Aug 2021 15:54:58 +0200 From: Martin Kaiser To: Saurav Girepunje Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, gregkh@linuxfoundation.org, straube.linux@gmail.com, jing.yangyang@zte.com.cn, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com Subject: Re: [PATCH] staging: r8188eu: os_dep: remove unused static variable Message-ID: <20210828135458.sx443eayxi7bahsv@viti.kaiser.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: Martin Kaiser Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thus wrote Saurav Girepunje (saurav.girepunje@gmail.com): > Remove unused static variable rtw_enusbss from os_intfs.c file. > Signed-off-by: Saurav Girepunje > --- > drivers/staging/r8188eu/os_dep/os_intfs.c | 2 -- > 1 file changed, 2 deletions(-) > diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c > index 8d0158f4a45d..c3ac0ae153f8 100644 > --- a/drivers/staging/r8188eu/os_dep/os_intfs.c > +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c > @@ -85,7 +85,6 @@ static int rtw_AcceptAddbaReq = true;/* 0:Reject AP's Add BA req, 1:Accept AP's > static int rtw_antdiv_cfg = 2; /* 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 */ > @@ -133,7 +132,6 @@ module_param(rtw_low_power, int, 0644); > 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.32.0 Looks ok to me, thanks. Acked-by: Martin Kaiser