Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1702693pxb; Fri, 10 Sep 2021 11:42:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP0E6PcXOioZGGcR+wW6fYxN+uBmb8WcLxwRU3ityaTz11nudmlETjph/494xgRzfwaGjp X-Received: by 2002:a6b:3c16:: with SMTP id k22mr8162882iob.130.1631299323841; Fri, 10 Sep 2021 11:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631299323; cv=none; d=google.com; s=arc-20160816; b=LxTHrrP3mtey5rBsud9rEB8vtl/Qv0CLDd1AmaKMo/p6v72jhxUNnv31owGlkkxuuo ywP5ACgLaTDrg5Or44Mzn0TnPxZEjFzhJbUAAJJBHyeFD8oRrnqapcpFacw8szg9LA1/ /HBESE6BdYFJXDeqsBZYpdyYpqOG16sODfJtKe5lf9/iBYcai9GGuYVNxxW+0oIcIBDG o/vHSvPvihLKnT7XpQPMTxLIF+7Ra+jxJ2WFP3BV3pQG67A9cZzXZQMDPezfNHd1xyWx ceg3kxY3rhJ4rsJ0a0RGdoCNfbXfV7DBqLtadzNKdzq2nDMtECqmeZ19FP1CC5S8w0/A lGmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3vkTMGrZ3SRZIZdzzIrtgXnmVKr3uAywThftSTXEpQY=; b=v93hTcgY9ogiIOOIl0VSXeUUk5CEREV7RNO4IgZ/btmWHJcBMwjb50p4LA5RX+o3g9 iPOM+cebhC+1vPdMxgXTIY2/CtWweG7fAmkv6WUATh5UQAG7hs0rsVMGCbjeCWnGeDFT R8hHD7TID9IvEDwcRd5VSQnFZUOyVEWAISHErojrk+DvxlNsw+9g5rYeUt4uJRbVO5hL nVoVwOr3Zt9Rjk8nBur5k6jrJ6QO0AcBoNUTCycj7YIlqR9hCF6zbHTZuk5q8/02Uz1u AwMKTpXw8yOAlHzEjeuAgak/MJIm8TkGGhsypY9sEMiK3XUEht0cpzKsEL69PLAdT0q4 9nwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LAXyZ71W; 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 t24si5082106iog.114.2021.09.10.11.41.52; Fri, 10 Sep 2021 11:42:03 -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=20210112 header.b=LAXyZ71W; 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 S232193AbhIJSmA (ORCPT + 99 others); Fri, 10 Sep 2021 14:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbhIJSl7 (ORCPT ); Fri, 10 Sep 2021 14:41:59 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 481DDC061574 for ; Fri, 10 Sep 2021 11:40:48 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id i25so1950049lfg.6 for ; Fri, 10 Sep 2021 11:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=3vkTMGrZ3SRZIZdzzIrtgXnmVKr3uAywThftSTXEpQY=; b=LAXyZ71WmTVjjlIkgp8qd5/MZzB4/gg+KUl/2LCXnkwX8nvBSbTc9rOwfKC+/RTmNO H85MliFgE2jxwO/GH5u9rg4EwIaWjNWJ+OI7pspJusPnIczEioczoCQLC5EQBWrHEQ47 oRndC7ATCBWesElZnBlNxuxOo6IsGKuRI5gC3EwnnzR0Z0cWYLtWIOn6elhJNMb2eQbM mABBmosWonK0MeS+OaG4ghyk9Uh7OglgSZwm3NCl21v01BQ8zcMIEUHBXasGHPJ3Q6Iy rUHShIf9lgDBgVXV9jd+fNylnPcbcR6+HbI/HsaGruFrSBVGQrs9mypM1YxYt22QttGJ 7FHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=3vkTMGrZ3SRZIZdzzIrtgXnmVKr3uAywThftSTXEpQY=; b=lwXx0j22LHzyldu7Lco6wh4KP0AIxPuRVjTjgzGvTtbN7uyW8UK0qf5dT2JTUiRH7M eudHTTpsTeScdWkuW8MCOFxjUF1r4kV321wbHJtjT5qw+MGIDhZS5jyUBzA9ADVprofW 3fJXRHuBsaY+L+aAXof3ckM+xg8j4Zth/SZ7ErppbowjeP/v20yUeuXRaHGpVzKBlk4u zymOw5zmI9RnQKsOPNdLytLw15kYH9XGZrtvNf8K7jAxlW16QbiQMmWesy7JYUCaKH/+ kzGmKXId22CuXpw46ScBj+stW1O9suWdJvKMDdTnzky0rGDDOSH8mPGZyQnK+mX4djrB sKgA== X-Gm-Message-State: AOAM530OGYv0arXoh+yNpq28lRVdgoQSetPEVeuFpYmcVw0NVEL3Us15 3jF+/3ZgPZsiP9zK+cvHUdE= X-Received: by 2002:a05:6512:304b:: with SMTP id b11mr5177111lfb.502.1631299246559; Fri, 10 Sep 2021 11:40:46 -0700 (PDT) Received: from [192.168.1.11] ([46.235.67.70]) by smtp.gmail.com with UTF8SMTPSA id r13sm636505ljh.61.2021.09.10.11.40.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Sep 2021 11:40:46 -0700 (PDT) Message-ID: Date: Fri, 10 Sep 2021 21:40:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0.1 Subject: Re: [PATCH] staging: r8188eu: core: remove unused variable padapter Content-Language: en-US To: Saurav Girepunje , Larry.Finger@lwfinger.net, phil@philpotter.co.uk, gregkh@linuxfoundation.org, straube.linux@gmail.com, fmdefrancesco@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com References: From: Pavel Skripkin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/10/21 21:31, Saurav Girepunje wrote: > Remove unused variable padapter from mp_init_xmit_attrib(). > > Signed-off-by: Saurav Girepunje Reviewed-by: Pavel Skripkin Thanks! > --- > drivers/staging/r8188eu/core/rtw_mp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/r8188eu/core/rtw_mp.c b/drivers/staging/r8188eu/core/rtw_mp.c > index dabdd0406f30..8ac23d2112fb 100644 > --- a/drivers/staging/r8188eu/core/rtw_mp.c > +++ b/drivers/staging/r8188eu/core/rtw_mp.c > @@ -75,7 +75,7 @@ static void _init_mp_priv_(struct mp_priv *pmp_priv) > memcpy(pnetwork->Ssid.Ssid, "mp_871x", pnetwork->Ssid.SsidLength); > } > > -static void mp_init_xmit_attrib(struct mp_tx *pmptx, struct adapter *padapter) > +static void mp_init_xmit_attrib(struct mp_tx *pmptx) > { > struct pkt_attrib *pattrib; > struct tx_desc *desc; > @@ -107,7 +107,7 @@ s32 init_mp_priv(struct adapter *padapter) > pmppriv->papdater = padapter; > > pmppriv->tx.stop = 1; > - mp_init_xmit_attrib(&pmppriv->tx, padapter); > + mp_init_xmit_attrib(&pmppriv->tx); > > switch (padapter->registrypriv.rf_config) { > case RF_1T1R: > -- > 2.32.0 > With regards, Pavel Skripkin