Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1951780ybi; Sat, 27 Jul 2019 22:47:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtmDJeqyH+K83Y7Hud81LFDsMkdrsayxmL/9zQFoN2ocE9OWz2Xs41QwUHBDeX9Qg9OjtP X-Received: by 2002:a17:90a:7148:: with SMTP id g8mr39118066pjs.51.1564292877465; Sat, 27 Jul 2019 22:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564292877; cv=none; d=google.com; s=arc-20160816; b=BbmBYoIo+WG6aQmTfwtPkmoiwV0BPYCqWJckLLeUkajZaNHVNmmQXNFWu6xIbU/Df6 lGdJAtTatjEmnBQiWzqCbBFlTdBoiex/liQNuSDvfPvqiiiIgPY0/8b4sNbTypaNiXOk 7lnJGvtbgSua7PjFQkG8ceytYC0QF7gB/M6hd/dxHNXgQk38z8H4Tbwc84ewD1UX5Wft 7i+yXXMRr4Y7tk++j2W9NzoVSMQZcyzrHwGNvbpYYvLBvK7rab8Kg6VgCiOwym6cOxPh 3c/bXZIeXVpDdmlBMg6wJCUOJuL24kiJBK/toudhEj9AXm41wA1Bf+INI4zjdkG5ZBwU A15Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=buMofwxOkYYhsDK0eLU1yJJUmsd8db28MJ/pExWSBQA=; b=J3LHGU/TElgiUVi2zUk9wDFJsWv+2Ovf9Lj7QgaJb1oQrNvZvqbMoUNkMdMyvKNoom E4v9KAKvS2t0q814k4hZkB6m+LUaJty5zitrKxg8e/IuSRv8ohI5JxwZQ92hFqRqaxiE JsprsdbUYWk2iCzkjrOI3/CEsSKper0uID4udoVyrFd7PAOUYnclGA4H4mKTpj5wYiu3 dKGgTruB4Dkxpr720RT1w6NeUhtFpre2LBvmJBlOg/Tpn/VQFIz4Eh/cdvysAZMwLv2o XleH1BHrzSQ2btf/m5WZSo7F2gNMkTL96avT4vonB8K3GivFr42FGH5akf6eg3KBE+gx Sy1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eg7MyJPy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id p3si21935832pjr.18.2019.07.27.22.47.10; Sat, 27 Jul 2019 22:47:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eg7MyJPy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1725983AbfG1FmG (ORCPT + 99 others); Sun, 28 Jul 2019 01:42:06 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43256 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725961AbfG1FmF (ORCPT ); Sun, 28 Jul 2019 01:42:05 -0400 Received: by mail-pl1-f195.google.com with SMTP id 4so19261543pld.10 for ; Sat, 27 Jul 2019 22:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=buMofwxOkYYhsDK0eLU1yJJUmsd8db28MJ/pExWSBQA=; b=eg7MyJPyXSj0crmZvoM+Nw1hSPE04RPglm7h8SSUaz29dUFvNrPXNmhRY/xt5aL6Ne E88rG2u5IjemWpaeA3mWWgloMSUBp+7ysnPWUqCfNLGwHUiEbehaEA6PC1iU9x5RXQmj A+y8QY03KVythRMZbex2NqosNzNZ71w2BHcsdIKygJfeFPO0x4gfgn329kDllFLIErC8 oGNRI0NFOVGITyXmeITi0/9CQpKqGFQaz3Se7/ZYs+VyK4NJLU5R6Btp3iBXsGJzJUKN 4LgJK2F27McGQRs3MSnKYjZlE26BHWai/S4LmuaxGVVhE8J/oXsn72H2HOnIjgI1LMTj HtPg== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=buMofwxOkYYhsDK0eLU1yJJUmsd8db28MJ/pExWSBQA=; b=n7MB5b1qf4PLdMGLkY8gKpQJ8z1LOFe59hCeeMdhVqoWH82VzVpcsNQUYEmKfRiQU/ MxQ/ep/uVx6NMDN/DeszjIfH/FjNiaBVUfY1a0tNeGO3GXBmSLP4qgvXf4AYGV5E7kVB j9D8ACesW2nMCmONIWf/zP8ku07L/0h8WMxPIVEhx9ei1VHyhtdP7Lh1j7sgHfY0lNfQ C38ulhHhyhSc7JRASGgXWy8sYn1Ft7PhUkHefRJs2vLzgKi1fnkxbWwrXxWXU+9gVRT8 YTD4ZV2PJG+dAcG7OKcUA4TqaEQuOqvHAYTTIhkU+FQnVGQDslREXMXxHA1gM9hPysRd mXpg== X-Gm-Message-State: APjAAAWeSP8YUO++2mlCJTGcE58XdKms2ckS5WQWH7jxndJ9INusKqo0 MKJ8+gSR/AHmqL5+5NmqCWwxRANt X-Received: by 2002:a17:902:e20c:: with SMTP id ce12mr107471089plb.130.1564292525239; Sat, 27 Jul 2019 22:42:05 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id 81sm90907498pfx.111.2019.07.27.22.42.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jul 2019 22:42:04 -0700 (PDT) Date: Sun, 28 Jul 2019 11:11:57 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Vatsala Narang , Hardik Singh Rathore , Madhumitha Prabakaran , Nishka Dasgupta , Michael Straube , Hans de Goede , Shobhit Kukreti , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Larry.Finger@lwfinger.net Subject: [PATCH] staging: rtl8723bs: Remove unneeded function argument for init_addba_retry_timer Message-ID: <20190728054148.GA18881@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org init_addba_retry_timer does not use padapter, so only keep psta Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 2 +- drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 2 +- drivers/staging/rtl8723bs/os_dep/mlme_linux.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c index bdc52d8..39c3482 100644 --- a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c @@ -262,7 +262,7 @@ struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) ) ); - init_addba_retry_timer(pstapriv->padapter, psta); + init_addba_retry_timer(psta); /* for A-MPDU Rx reordering buffer control */ for (i = 0; i < 16 ; i++) { diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h index 733bb94..186f4f5 100644 --- a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h +++ b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h @@ -539,7 +539,7 @@ int init_mlme_ext_priv(struct adapter *padapter); int init_hw_mlme_ext(struct adapter *padapter); void free_mlme_ext_priv (struct mlme_ext_priv *pmlmeext); extern void init_mlme_ext_timer(struct adapter *padapter); -extern void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta); +extern void init_addba_retry_timer(struct sta_info *psta); extern struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv); /* void fill_fwpriv(struct adapter *padapter, struct fw_priv *pfwpriv); */ diff --git a/drivers/staging/rtl8723bs/os_dep/mlme_linux.c b/drivers/staging/rtl8723bs/os_dep/mlme_linux.c index 52a5b31..038036d 100644 --- a/drivers/staging/rtl8723bs/os_dep/mlme_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/mlme_linux.c @@ -179,7 +179,7 @@ void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie) } } -void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta) +void init_addba_retry_timer(struct sta_info *psta) { timer_setup(&psta->addba_retry_timer, addba_timer_hdl, 0); } -- 2.7.4