Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1690394pxb; Fri, 10 Sep 2021 11:22:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfZf2RPq1geytY5pwX+kBHfODPdpq0FpkNiOMgNDxawcqnl4eJyY7eil5D6kd5Ik5xWGtk X-Received: by 2002:aa7:db17:: with SMTP id t23mr2292146eds.387.1631298135129; Fri, 10 Sep 2021 11:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631298135; cv=none; d=google.com; s=arc-20160816; b=QVXPsPpeQA2ymPvti81r2X65Eap+kSoXznqkJBVQrCjgpAi+AhDnLioEdEq7ECVCLk 0L0jJYd12S1JrC1mcSPCO35HEMiiyXBxjlxLF2WB2MsCvLFMJuQwANcLnTLgLv4v3aob n6e54gD5oZljBZ5lyiKlo2wjuNxmRl858aRPDpMR3yvoS32X+AvppZv/Q6rpEZjFT3d4 ZmefX7b/kwvWGGPJ0Z3n4eoybkTa1YP8nZoQrETfjStTk5ikceK/ijORncRdASNA8j1Z 0ZDUw+PGf4YkpnD9ZmFKEKKnEWn9wzNaHyz2K93MJg4CkZCnNZsN3N9/DOBX0fTbdUMZ g5Yw== 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=MQBLIvat0Yi5uc02p/sMmL47y+EqK3jI7MnOBAhKSpo=; b=wRN7k9osxBHiPrFvReOGRQj3Ksn3CPzKZclOW8R+PbBa/aIMK+D4eKhgL+borAt/Ak 37a51UG+572AvQP9FrCZ7ECuNt9iNgmgoKjJKy/cVz7+JTuBtXVUaSK02gtcu7SbPviQ OQ40IwbK9rdrcKpo7TprGyElIsfHzqaoyQpREAjXtDPaizU1i6uanW1YRdoWxoKklD5t 9l4za7DKoJsuDr3V1yZHLKJTy/wkCG2e1EMHlWZu94mEc3LkFDdVnm/IsLc8ULHTknFU nJarZOw5vIyZM7DNOabES3sT+vAbXb5kV9/O9BWUow7R63cE5yfpTLBfv+ZATe1PR5RC D6Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CSLBs1ZY; 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 h16si5569549edz.437.2021.09.10.11.21.50; Fri, 10 Sep 2021 11:22:15 -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=CSLBs1ZY; 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 S229660AbhIJSVo (ORCPT + 99 others); Fri, 10 Sep 2021 14:21:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbhIJSVn (ORCPT ); Fri, 10 Sep 2021 14:21:43 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79DCAC061574 for ; Fri, 10 Sep 2021 11:20:32 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id 5so1677058plo.5 for ; Fri, 10 Sep 2021 11:20: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=MQBLIvat0Yi5uc02p/sMmL47y+EqK3jI7MnOBAhKSpo=; b=CSLBs1ZYIhN2ZflZu+StwA+/osv2USf5nrilccKrwZRW8TLBnnTCBgdN/SivALTq29 bZZUKmhMsH/C4I4oMTMmhGTGWiLX0kfgy8X+Ppy2zjlgMxXvXeCiJNW1hF7WRK6ucGqU SJ3Q/PAnOMSiJsFnMPH8vhq4nlg31/EsOnzffpYWEDDQdXBLHFkAvHByGkqNhx/Wp/rn yDJxVip0x8NperS+nyyf+un6v73GjbEdZ1dS4qwHMCWcQrFkez1Hoi/1xXhj4JBRRY5a /G7y248LuiHaCylhfPp5fTHrltU84TAF+uFCHVzexhwl6sKlmyYi0dHRHP2m5LKQB+1+ FZoQ== 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=MQBLIvat0Yi5uc02p/sMmL47y+EqK3jI7MnOBAhKSpo=; b=tMqArvqoQVKpSlwD5w7dHj/Cl077IV3O+69Y6+xFiaDoeARjDsMfis9QY8ZFeeGrTe /ypj+DYxbKenw7LmVUInfJ1cBaEE9ZkDivHDILss8rY8v88HSFUZ6qmOytgEDAIO1A0T Ct8YMi+5P2OCYPlucGOR5idb1rE7HfXkl2USAWZuF9Frqyof0I9Jj58ICFNHTTxgwX13 i8SmaJG3f+eu9cNIAggMDfUXJpFcflMWLV7NIqsaY7g2kKcHTNIOjbClRzNXXMaK+hP7 9Yf4Zrray8wFmZ1gQ8oMDibvDyzpsLLmISCqp7JezQOGgdbsom+I/EoLK4J93TM6W/cN S1tQ== X-Gm-Message-State: AOAM530922xrxilHaDqWTyHYu1PAuGiVS+/vd5PtsG+4lfCvTjig9XHy OutNXk6xlyxl5AEvRm5W7Lk= X-Received: by 2002:a17:90b:1509:: with SMTP id le9mr4370489pjb.171.1631298031785; Fri, 10 Sep 2021 11:20:31 -0700 (PDT) Received: from user ([117.98.200.228]) by smtp.gmail.com with ESMTPSA id m21sm5950077pfa.216.2021.09.10.11.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Sep 2021 11:20:31 -0700 (PDT) Date: Fri, 10 Sep 2021 23:50:26 +0530 From: Saurav Girepunje To: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, gregkh@linuxfoundation.org, straube.linux@gmail.com, saurav.girepunje@gmail.com, martin@kaiser.cx, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com Subject: [PATCH] staging: r8188eu: core: remove unused variable Adapter 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 Adapter from rtw_IOL_cmd_buf_dump function. Signed-off-by: Saurav Girepunje --- drivers/staging/r8188eu/core/rtw_iol.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 2 +- drivers/staging/r8188eu/include/rtw_iol.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_iol.c b/drivers/staging/r8188eu/core/rtw_iol.c index 5c1b19679cad..abaddfb1a1a5 100644 --- a/drivers/staging/r8188eu/core/rtw_iol.c +++ b/drivers/staging/r8188eu/core/rtw_iol.c @@ -174,7 +174,7 @@ u8 rtw_IOL_cmd_boundary_handle(struct xmit_frame *pxmit_frame) return is_cmd_bndy; } -void rtw_IOL_cmd_buf_dump(struct adapter *Adapter, int buf_len, u8 *pbuf) +void rtw_IOL_cmd_buf_dump(int buf_len, u8 *pbuf) { int i; int j = 1; diff --git a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c index 14758361960c..f3fb1a2f4cb6 100644 --- a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +++ b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c @@ -362,7 +362,7 @@ void rtw_IOL_cmd_tx_pkt_buf_dump(struct adapter *Adapter, int data_len) rtw_usleep_os(2); } while (!rstatus && (loop++ < 10)); } - rtw_IOL_cmd_buf_dump(Adapter, data_len, pbuf); + rtw_IOL_cmd_buf_dump(data_len, pbuf); vfree(pbuf); } DBG_88E("###### %s ######\n", __func__); diff --git a/drivers/staging/r8188eu/include/rtw_iol.h b/drivers/staging/r8188eu/include/rtw_iol.h index 471f9ca092a8..7979cbcf8e00 100644 --- a/drivers/staging/r8188eu/include/rtw_iol.h +++ b/drivers/staging/r8188eu/include/rtw_iol.h @@ -63,6 +63,6 @@ int _rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path, _rtw_IOL_append_WRF_cmd((xmit_frame),(rf_path), (addr), (value), (mask)) u8 rtw_IOL_cmd_boundary_handle(struct xmit_frame *pxmit_frame); -void rtw_IOL_cmd_buf_dump(struct adapter *Adapter,int buf_len,u8 *pbuf); +void rtw_IOL_cmd_buf_dump(int buf_len, u8 *pbuf); #endif /* __RTW_IOL_H_ */ -- 2.32.0