Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1433968pxy; Fri, 23 Apr 2021 08:00:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyA7sf20BJmYDAmo1mSr1Fo3T3gqcmB5riPqdyq5gf0V0ikmi1yTc3/LWgz5KqRxMry0o85 X-Received: by 2002:a05:6402:c:: with SMTP id d12mr4992761edu.100.1619190049934; Fri, 23 Apr 2021 08:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619190049; cv=none; d=google.com; s=arc-20160816; b=XNQlzpqZ9T28VRpwARKzgKAIuuRqH8S2Hj55FHwFkAeuFoAx8sRr+QxedDCVbx9pKt rWe93It/8HRcGvZhV9mXSxqGQ9FhuEFf3HUrUKBO664Y5vYtw+sF24Z390VQ1btiq8N3 9Y+Hdx3kZAzRc8eyRFwYMHVp9ShKWegwtgNmeiNqENuvlSlS0mar0ibLurbafX9WrpdT gWOiZmmoZYGaOeWicF+LSqJFhqIXkFVtLgLtrGiZBBmga3Z2RNjo55Rw7OxriyAklUVV 6EPEsyQaqjgEMw2RIEd8LKl7CIGob3+x/KL/tnXxWQCyIIfB/xK2qLapzeBgxgRrfNWq 1qXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bs6Xp2hN7bXYFa4GJsG/iTvQnibSGJwSZFCsbQblVKk=; b=MH2Sr3F7uReu0oErZwn2tQZ6yLjZRydp2DV2Bt18FcTenMsxNnGEv+TRCckJq+Zatk +q+47us/oA7iRrSq2eqFdScbLSYtPitDLV4nRwqdheXez7ar+/8pSOhQCLNOUgGY95c6 63qZO7zk24G/TiNgstDdHNPcy5lij6neGC33XD7hcsCU42cstHn1ZoJ0jq52+XA4ke7m se9AiHeOnNelYyNgmEHUCERNxQ567+0BQ2ieael9l4bdjLBoo7afA+D5oO+y6NRGuTmv baKM6R1Cs0E3ymx3XkHVpSXaVTcP9bPN44/OkDkVet3O6rZk1+DOc/W3yMlNk5JpyjME cZBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ekgaCo9L; 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 w5si5474268edt.395.2021.04.23.08.00.24; Fri, 23 Apr 2021 08:00:49 -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=20161025 header.b=ekgaCo9L; 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 S242937AbhDWO7p (ORCPT + 99 others); Fri, 23 Apr 2021 10:59:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242831AbhDWO7b (ORCPT ); Fri, 23 Apr 2021 10:59:31 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9F5FC061574 for ; Fri, 23 Apr 2021 07:58:54 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id k4-20020a7bc4040000b02901331d89fb83so1389482wmi.5 for ; Fri, 23 Apr 2021 07:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bs6Xp2hN7bXYFa4GJsG/iTvQnibSGJwSZFCsbQblVKk=; b=ekgaCo9LiIzm0uxkV1wVXN3IlzioPLYt1aCel6oigEhny1bA/wk9+ZGI4L7HQ3GcB5 CYXhF4pTu58xDOJFIrEeTMDEuE3elvYC4KT0vADyRxBdIqkBBxCXA6nQ9RebvCTBPxDz pZMSyvRjKcfzFYfR+n3/c3R/Kbf+FeUBh05H+RmOXgCZcAGLEgCMBwa5p0hx7KHVtIAC aPC6a2lMcivTa/uFE+AwbtynmUasNXLoEJ3p/uita3N9f2erazFh04LSumUCrjfVkxMg ljze8SCJDQfRJRyxmWzRhrHPwjkyfFeH/+iCZHczcXyH7YVDPbAkcmU4fcNxmn5R/b6k 4foQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bs6Xp2hN7bXYFa4GJsG/iTvQnibSGJwSZFCsbQblVKk=; b=aKTesPkXVehSXLxFtd1bh2i+8rgUXJxXJLa8wBz/TCGXtEec64uoCm7F7aXkeo0UhV 9Lcfhwz5g6vkH/O0QaSqCgWRY5SBYD4IzfR5z7fpkmDZBC25vJvtd7Mso74/uK0JlWym M4b+j5och3nf0DanprJf9+ASynEqkmeiDMC92te9pKBry1yZWSThqnKpsuHC+/uLddSG 2pcR6gZ2bWTUftF9e4jILF2zvG/VTp/KAPc33ARx5cOHD3CesagpKfbwcpDyeoM/ltEE TKzE1twXTsg1TZIbAhS7B7vxyaFbEgwEojStYyiAS0o+Hb/kTV3H0L1CJnZF30/N6cv+ r+bg== X-Gm-Message-State: AOAM532Bgb3cnnylWWUblNF9KxovXXJK00g5RAigD8SJu+1jQbH4KwE9 X39X5lXbRASCSOYamoy7q7FaAWK/pjY= X-Received: by 2002:a05:600c:247:: with SMTP id 7mr6050020wmj.111.1619189933390; Fri, 23 Apr 2021 07:58:53 -0700 (PDT) Received: from agape ([5.171.72.99]) by smtp.gmail.com with ESMTPSA id c16sm9116083wrt.83.2021.04.23.07.58.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Apr 2021 07:58:53 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 07/49] staging: rtl8723bs: remove unused rf_reg_dump() function argument Date: Fri, 23 Apr 2021 16:57:58 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove unused function argument void *sel from rf_reg_dump. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_debug.c | 2 +- drivers/staging/rtl8723bs/include/rtw_debug.h | 2 +- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/rtl8723bs/core/rtw_debug.c index 154a35b1541f..e6e583446626 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -45,7 +45,7 @@ void bb_reg_dump(struct adapter *adapter) } } -void rf_reg_dump(void *sel, struct adapter *adapter) +void rf_reg_dump(struct adapter *adapter) { int i, j = 1, path; u32 value; diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index 6064de93c24c..fc187a4ed2c3 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -150,6 +150,6 @@ void mac_reg_dump(struct adapter *adapter); void bb_reg_dump(struct adapter *adapter); -void rf_reg_dump(void *sel, struct adapter *adapter); +void rf_reg_dump(struct adapter *adapter); #endif /* __RTW_DEBUG_H__ */ diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index fa260714b588..5912915a7870 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -2738,7 +2738,7 @@ static int rtw_dbg_port(struct net_device *dev, else if (extra_arg == 1) bb_reg_dump(padapter); else if (extra_arg == 2) - rf_reg_dump(RTW_DBGDUMP, padapter); + rf_reg_dump(padapter); } break; -- 2.20.1