Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2002532pxy; Sat, 24 Apr 2021 02:05:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2lwgbqyBAFqnayRD7UnXHBFywOpL/RT3PLyInhkt+9kiqmgZKJPmsxRznG54sg2MDJURc X-Received: by 2002:a17:906:b754:: with SMTP id fx20mr8348672ejb.69.1619255104895; Sat, 24 Apr 2021 02:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619255104; cv=none; d=google.com; s=arc-20160816; b=AjxK1i/c/kpXuAquull48OHg2VNLOudcJAFKiXmY9G/5L2G3pdPwsvoNG4oL03iMkP zB6iSXtrK8JOGwPYZI8wWA0YOxGLE/0/nn1NENYwIMi255anThZkT50HbHjS4CSzhziJ RtwYimGkS1ka0wLbtsRB0k2i+CrhW9zQt+JsfqPyAlGK90JfVZZvkO7yq5FM1CHdmpDI zvHz+Dskqefep5/pgWbYAQ2ldoUJi8lcOBcksrNSyY7u0Unz+Mu8YM0X8JmSHZqZK5Dn zvUB8GCvlwy3RoWOp14FSC0tZHIUWpaBVGoUOf5H3Ug2ApXHRZOg1jJH8NbL7GR6Vt3b McaQ== 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=1geH8MaSIgPsbNMxb2TdqgxuHhF/mDAA2khFi82Rz4g=; b=KcjgueAvI/k7PoHoyoMbAj+8yeAdJEfi2CQmB1Lk4YJcyZd3Tqinc1doVbq3h2ejnx iXLbADHaX0kozEwVyJvZlsXAMJwY6XE6pWNvH5+bY0aVfKgQlNioO1anvEb0yJVHGcXi djLSQHJetn12V+aHRBa1zwmvSVQgmRPhhAnsLLdTbwq/WLo17OLfi9zcObVI8IJBnx38 vJSUSU06psxgK4J0/P9ufkydpnhq+fbX5O0Nqqpssao4GQSp0yG3vMx8fCbui3CCgOp5 541zsWFbzui94LtcnR5u5RNqaA0PGabXKkO3MGTlUBEhocoT95yObu3OAXlLSUIJorCp qm7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X0M7hUHs; 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 p31si8830363edb.415.2021.04.24.02.04.41; Sat, 24 Apr 2021 02:05:04 -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=X0M7hUHs; 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 S237260AbhDXJDn (ORCPT + 99 others); Sat, 24 Apr 2021 05:03:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236521AbhDXJD2 (ORCPT ); Sat, 24 Apr 2021 05:03:28 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E3D9C06138C for ; Sat, 24 Apr 2021 02:02:50 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id s7so50599742wru.6 for ; Sat, 24 Apr 2021 02:02:50 -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=1geH8MaSIgPsbNMxb2TdqgxuHhF/mDAA2khFi82Rz4g=; b=X0M7hUHsT8s32KzF8D5jLFxJI1uKbHZYMK4VTzfb3GyVgrpy3kcKohg0XBvPvVw0eZ KNdDe0B2r/yyRZjCwewLT+A49RiLOXK94ERjjD/xpLd8T9ukNac6RfBFSj0Q+3R9EeIl 2QqbcFekegl7Yh5DOxqeBhZSaqlcTVxh4Dppmjwosf7OFVIpM28T45HX6dttSJUplT// CgF8SHCex/dHIHMgTwoXrdKFsMv9JM9pEW7Bg1oCEdY8IplQHMXrm9soigpvx5hG7X+/ Jy5vxdSt7yIgipC53RA4ZZqxn+dvlQQ63ZO+ZaoALUWNLePBHZkZpX76uHhw/ppcTqGM ckWQ== 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=1geH8MaSIgPsbNMxb2TdqgxuHhF/mDAA2khFi82Rz4g=; b=k6JhDbVMalQ9rnOjOfnvN7oeneL8TO78JZYUYTZKROp/H8ibJ25GccFp2Y0eoTgOb0 ebdeM1A9l3PeAR1JSQM+3BP4Vy/WWLMrLiRU1DTrm7s+efBDV5OY/WAmrpvXLp+omwW0 DXA2dHd6zdGg2pHAtb8cLSgM18tUduF+SyLtvBho1/+lFUTIf+xUmFV+4x9VRhNbo2TW zC5WMkO8/FGwj1+wXLR9yY00YzHkrJQXx6fAHRjQfFeaHiC0mNIQiwqkTCmyDxqG6kBT ikteW7npuXiNXApo4QrHozFjRkVGb6ce6pQVdtu6JICX9qyQBhGHMJhcw0UI9cnX/cl1 PkYQ== X-Gm-Message-State: AOAM5301IUuvauHylohLwPonZRFD69BhAfDQMP6jvr4EINW2QJqMjyTg HMeg3ZfM+zp7h0AyeZdNRRciFLkcGQioVA== X-Received: by 2002:adf:c541:: with SMTP id s1mr9760171wrf.370.1619254968873; Sat, 24 Apr 2021 02:02:48 -0700 (PDT) Received: from agape ([5.171.80.252]) by smtp.gmail.com with ESMTPSA id y19sm12962286wmj.28.2021.04.24.02.02.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Apr 2021 02:02:48 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 08/50] staging: rtl8723bs: remove unused rf_reg_dump() function argument Date: Sat, 24 Apr 2021 11:01:51 +0200 Message-Id: <32d99e0a094cc59a35788c468dd3e20b486c9e20.1619254603.git.fabioaiuto83@gmail.com> 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 9dfa71580b2e..642aa556c462 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -59,7 +59,7 @@ static void dump_4_rf_regs(struct adapter *adapter, int path, int offset) i, reg[0], reg[1], reg[2], reg[3]); } -void rf_reg_dump(void *sel, struct adapter *adapter) +void rf_reg_dump(struct adapter *adapter) { int i, path; u8 rf_type = 0; 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