Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6438298ybi; Wed, 31 Jul 2019 14:30:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUQx+aRLGuEbVvmpw9VqEzKw2Ao0v+3qVb3shWE6HvvnTQsS/BccXe1/fQCJ7goDmfRCgF X-Received: by 2002:a17:90a:3225:: with SMTP id k34mr4801143pjb.31.1564608636067; Wed, 31 Jul 2019 14:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564608636; cv=none; d=google.com; s=arc-20160816; b=hdQTQE8bdcY4ze8NoNE0nF3IenjfGvbYy/I5teOYjbEPjajDA5AhTRBpk4hJmmG5JH 9lt8uv8O5vdda23etQ7M68UkfYDHed3jt54xb+zLlkhGii5LtkK2GW0ZT2Pw0xLwpw0J Zl326JbXPS1fgFvC/wNb23kNckDEy5b9GtbvF5pBOq5ZrnojVN17v2F/b6nfPT9EX6az 6Rg86acrAH9cfDtnxjJQ+vYqj85CP0UHldE0o8MdsVzGFJSIOWENi8hGc/Ul+rGL2i0a GAXdGw+QdmLmHy/MHCqCQqIZQcmAN3AGmamErCDv5PyJQLrbdrh0tUWKyXzt3t4nozV8 DDnw== 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=dkFZjVxhLg5nUBZBwLUZXfe8WesR8N6+UbConjepUGg=; b=h0EtLQgTa7vTgqYPnjipTaMeuOb+rZs8NMCM8mPXLU951yw9MGrti6vkglMghqbOg+ b23rHlAXCMeS3Yzk8QLtdRYmZU+rWj5AS9yTqZS0STq4jPJUYrvAd4A1tYDSToJTxG/d hMKicF+LXNAelLIbdyQA155I8a7AP0cG/bKCEVJVdffx4+gHmgZ1DBub01Org9gslHAM 1BNOfNX/TuCwKPWXzVlrjiRwMw9TlXjYevWjxDUisK7N+ohLY60uuUxdjp9S3p+hBzfk kqdZ9IcxvS0obwEpiG7v4TdiJM+RN3iqI1K5aA6oLDk0Rn5y0NbZOP5uhLSSQHLRTDqM N9LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XO7Q045V; 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 x185si35573409pfx.243.2019.07.31.14.30.20; Wed, 31 Jul 2019 14:30:36 -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=XO7Q045V; 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 S1729479AbfGaSVK (ORCPT + 99 others); Wed, 31 Jul 2019 14:21:10 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:43883 "EHLO mail-pl1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728170AbfGaSVK (ORCPT ); Wed, 31 Jul 2019 14:21:10 -0400 Received: by mail-pl1-f178.google.com with SMTP id 4so23851021pld.10 for ; Wed, 31 Jul 2019 11:21:09 -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=dkFZjVxhLg5nUBZBwLUZXfe8WesR8N6+UbConjepUGg=; b=XO7Q045V4NUHekNM727e11s2Hin3uH7R4fJpX+7PKmq38/QWde10CmJmFUmTRQsI29 R3DbbjSCtF3a0Jbg/Wv9rqkpNMxRa79EoadaxLOnd9KCQ2AMCOpjl0DTikacHfaB4uMZ 9EC3ZW0mjMiWAAl1R51R49k9MnxgPjFjJYGorT90WubZ5QMUDD2SPuxkVwFVFCMtL3a/ AVrekYjGzush1DEPMnpVdtWieFvV2jsLVehLmuakdZCJ6/+W/CN3ZQwOWz4VxA+hxe4v ow7kxUPcGHT/M4F6z5hkqJXfseD7k3EFsllDrMt3zL4NYsUzydkf0PU/trD2yJzE8Dcj VGyg== 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=dkFZjVxhLg5nUBZBwLUZXfe8WesR8N6+UbConjepUGg=; b=WjEgC8Xm6cMJpM8p1un33fWHqV+Ej/bAb3nKqPK6rZ9O5za8+d5Qkp5PMNXWfieTDx 2D+wj3dqhi/2JdSW2rCBl7AM/LNQ3NefmbxFOqthw0kdC4EQgNKBAWmdwV7VF31/z2/q 5IDz51Qh6S7wVsTlx9yvGhN0WLjeXJCiLGaK3I/FqzpX8cgLDwOYLGsL9he7SdiaikRc TSXWmaiv15kADCPWGV/4E8V2xc3JIiYRIwV1SH4nYmna6cuMbYOWL+Me/srZhADPiTyi BrfIYAUA0sVDlAZCP5L53HsEmCKgRraMca6yorR2YeUBaO2t/AbB9RwPwHcAMbyhfrzL ov2Q== X-Gm-Message-State: APjAAAViMZ1ykMz8dWoPffk+qvbo+OayxrhLp8XkXR/7O+3f/fVaTZEk Y1RWgagTaetf6ZS1OlBvJS4= X-Received: by 2002:a17:902:e613:: with SMTP id cm19mr113868926plb.299.1564597269551; Wed, 31 Jul 2019 11:21:09 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id k6sm78719059pfi.12.2019.07.31.11.21.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jul 2019 11:21:09 -0700 (PDT) Date: Wed, 31 Jul 2019 23:51:03 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Vatsala Narang , Hariprasad Kelam , 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 v2 07/10] staging: rtl8723bs: Remove unneeded function argument for init_addba_retry_timer Message-ID: <20190731182103.GA9617@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 --- v2 - Add patch number 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 fd3cf95..bdbf15f 100644 --- a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h +++ b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h @@ -539,7 +539,7 @@ void 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