Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1698916pxb; Fri, 10 Sep 2021 11:35:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx60N7pXyWL+kk+FiyKLuSzFo2nwqFTiqJ43ihNcpFdwa78ojjA92nHygCPuPkxNSOupfwp X-Received: by 2002:a17:906:781:: with SMTP id l1mr11008297ejc.289.1631298939646; Fri, 10 Sep 2021 11:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631298939; cv=none; d=google.com; s=arc-20160816; b=oX9ZjGZV/a2uyU8uPDPVo6NwDD4XkloTcdnXBw/JeUVa05K7x+p05XisljgcRe9AdW rs+QhuAgeGjX/+h7zV7JmeyzdOiiVfyNAlT1FKta2M/tDjbkRVEFuBgrTJdtb+M47t6t uqGNcSGggVE3jYHxkvWH2SNoZQNUKGttmVqaToFblWLqy5XlEpEM5htk0PC08hZhXDz5 FbDmgjVqIyo+KXkxrPi5saQP/lKavXgcuX49PsSdgUOEnkWRv3VDrjlZodMLeLDgwx2G KTbtXCXOmiNq4BlK86wuX3kpZNDWVatO9l6LGiX9D5/jpWBWx+LswjvpBEGN536gFYPm 8NKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=+yaW+MnHcAMiT6v5gmW51Vj6i+pKWcS5CVSB30Jf6AI=; b=S3rbxmatYOUzjIY6dIxjC8pOj459BysDA0ziWU1i8SwhdaqeNldOj70DjDDA1e1JpQ t4YkE63rJz6enxB0WdhwuHi9g29VgCaAncR4jsqzXFojsuNUSEygylqNO7F0dDE4hXaQ l8A+yr9ZDcYlOU6I+lUtav5hJbjd6+rX+qgl9CGKG19tTqjKdWs5SzEoWDDqq6VHxbVV UAoC1qe7gzytaOz/h1yXClDU5cz50hd8v5mU4pXhsFXjhPypu9oYutqvyxkcvj2slhhd +ICPDJvy3uQT/YM9K3aKEbRbvRIP1h6ZXF6jKIniJj7Jt03H4dFb+H2TjXLWQ6Q1G571 Wg4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nakKVtF1; 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 hc43si6837747ejc.87.2021.09.10.11.35.14; Fri, 10 Sep 2021 11:35:39 -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=nakKVtF1; 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 S232010AbhIJSco (ORCPT + 99 others); Fri, 10 Sep 2021 14:32:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbhIJScn (ORCPT ); Fri, 10 Sep 2021 14:32:43 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6703DC061574 for ; Fri, 10 Sep 2021 11:31:32 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id t20so1936022pju.5 for ; Fri, 10 Sep 2021 11:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=+yaW+MnHcAMiT6v5gmW51Vj6i+pKWcS5CVSB30Jf6AI=; b=nakKVtF10W5ZLh3ZQuvaFCrOERBll0sHW6txMBWA06B7ZQLjT9cTYD7VBaN2nk6/Bp m56C1nCb4DHZC1jYAFTn/HQnkyua7GvceZ1L2i/fExbirhQNXxH+dgZbWQ6hrY0xr8C5 XhNjVwHjBgqXt3QOrl6lcmlIETgNyOmbHTMb+iY+0qyo+gdiYUEE+Z+5iyDv43CV+8xo Mt5mfOTTNcp0HbOhp9YJKAh7L+RzmnJ0uJ8tJp5zsfcNgIls/GM2ioNTQt7/g6STi5nB duMHcjLmA0PEDow1bmDnGWgasXBrPqzpSkoR5GOsKGkACg9MMfXrRr3liWJspzHnU8Xf mq6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=+yaW+MnHcAMiT6v5gmW51Vj6i+pKWcS5CVSB30Jf6AI=; b=rmjX/3MKiDxBiEhNIWSqvBa52srmvx1QSqQMmf1VXQKuBhxJox+3KTx3/ZRt8HUbgi njvmfO3ehg7+DMN2q7SuzBY5tQC/Gcd3NsMoP9z/fmxVKykpS+DL6pkSUqFCTZk+hNfN LuFqOtasurJssBF+8Nnpt+AM3HF+yKeXH1jooYEUeUonpdhv+Vd6uS3w+RgVp6Zay+9W roRxr38uskYPHC9DZZbm+Dpg9MVG3Xym0YM0nQ9ZY/yVehPX+7Djxj5ypJ7fuC4gecWa oh9gVnR4rgS8tJGiEfgF+JcNucwLiWA3LKr5tYIEsUFbCiEoCme+rRByUojt7erXmDum nzRw== X-Gm-Message-State: AOAM532yr3TNyn5vZSbYvt0pZf8bCWhPmsSvFnfMaYvL8Z7WlvxJFphb 1aidShIHdwPCTGd1bik/3sk= X-Received: by 2002:a17:902:b20e:b029:12b:fd6f:44c3 with SMTP id t14-20020a170902b20eb029012bfd6f44c3mr8977203plr.36.1631298691801; Fri, 10 Sep 2021 11:31:31 -0700 (PDT) Received: from user ([117.98.200.228]) by smtp.gmail.com with ESMTPSA id y126sm5839794pfy.88.2021.09.10.11.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 11:31:31 -0700 (PDT) Date: Sat, 11 Sep 2021 00:01:25 +0530 From: Saurav Girepunje To: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, gregkh@linuxfoundation.org, straube.linux@gmail.com, fmdefrancesco@gmail.com, paskripkin@gmail.com, saurav.girepunje@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com Subject: [PATCH] staging: r8188eu: core: remove unused variable padapter Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused variable padapter from mp_init_xmit_attrib(). Signed-off-by: Saurav Girepunje --- 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