Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2002331pxy; Sat, 24 Apr 2021 02:04:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOrj+3Sta6vLa3cNKniCMBxjrZkSB1BdljlPfcP+zwqx965zB/I+Dqrzu09H89WGKkD0s1 X-Received: by 2002:a17:906:2a16:: with SMTP id j22mr872804eje.397.1619255080832; Sat, 24 Apr 2021 02:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619255080; cv=none; d=google.com; s=arc-20160816; b=PXUoNGlS9dYfTi+bAwbcXXFfIwJ8XnYCMS7G+YVUzqoIXFpqomd3eGd+H6Inep1vOu eHSDevzkqN45qoDYBYrkSkXfQPBKqBXqwLn5PME7rzdLoCRIyvQo/Y11xsswJU+Aqmtz g9XdeW5FDaRyegATgQigYHJS9W3utQPmEvX5IyVomyaiqXyiIj2KJpwj9Gqx1T9JD7dq NFUMCdK0ZgXHYPBGwPorl/SV7Y4cw+lXzg8mnbegILFs+PnXTBM/6fokrVbUDokI6dPK lmW3S51Oe1YLPKWUAC2ShqQ2zOT7AzSTid87fq17bYA4uWOR2YB+RFbmYMWRMmg0neOm PWOg== 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=pW8S2qDA8lfJoWNaoF5GHjJlm4hypdByKozOq82+4Nk=; b=TNfTkkUj7IYyHObBTqK4cvxQ8vPMpzoWAGYkgb90BHFdK4Bp1Gt+EwkHNwFcGM9H+j db/WXO2zntvU+R88dyqNeWe0/i543xhVJ14JXgQ7D5knhwcuZXyJib6vYOq2B4LMH+E1 Webj8d8IbV2fUkpDUo0x1CtzpoxeqDPt0A4gcaAP7JkXd1BNzydrdUFb+N+jA2BdkCQE 5a/4QFYkc3vQacuEshUHEtKhvRXrqLU22ggCm+9icmsE3ngeaaGt2HTDA5aeb6eE06yl D73+/7fTHew7LejS7tco4saAJKruZhKUjs7U75NvYI/EO8zNPlzd1lBGJfvlu32F2OVa mDhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SBSurnZs; 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 jo3si7780900ejb.274.2021.04.24.02.04.17; Sat, 24 Apr 2021 02:04:40 -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=SBSurnZs; 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 S237185AbhDXJDd (ORCPT + 99 others); Sat, 24 Apr 2021 05:03:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236958AbhDXJD0 (ORCPT ); Sat, 24 Apr 2021 05:03:26 -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 11755C061574 for ; Sat, 24 Apr 2021 02:02:47 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id a4so50701996wrr.2 for ; Sat, 24 Apr 2021 02:02:46 -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=pW8S2qDA8lfJoWNaoF5GHjJlm4hypdByKozOq82+4Nk=; b=SBSurnZsbLdTwh3Ik2x6C1ah1gSig3IKceI8bKVqqbxHLCUH+g4pxQIl+iHZCLtEsI rO9XC+RDbTVS2B0wkBaxfsUSIJnuyRpsvf6wTV+ScS67XQtfSDb1hnQA696kn8mfwvuM tHU38+mI8bGxfrTVtp5fw8fJymjFrcarZk1/GJKM4q0R1nSqGQKcS47GQu6jQTxkZbUn qOd7XmhqOeuvCb04FqFMOR9BYcdc+hQyVUOxgPutyFft5gRpOdEui+PGUKWesCHNE+7b Q34YsR+iwNMhNSWeXAm7tXFnHkyidcDn/p8mjZ7sJIuArIsJ06UGL1mKs+BWeRkCGYUE gaGg== 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=pW8S2qDA8lfJoWNaoF5GHjJlm4hypdByKozOq82+4Nk=; b=gztnCvm1FpWbA+CeFvS5dcY9icw8JvjO8iIv8pvpBEp9ed6bFuWMwY1I78Utb6mVvo KkeW+id/LsHP/L7uuMv47xcUnHfYdzV3W/BOz1QzMfxopTKpKgIllCJlMbKRz5hqjJ5Y fLknQAk39zuNn6hQabX+ZjJmh2Vv/5Mz5rYKbIBEpOEPc5IHMjWzKNYquStTO+fy6Cgr CXGAXS/910m15yLDtLvt1i/c8/6iVa9Gdcg+gJqqAXKSnRd8bgkwoAw1WZggWs1a+QDH +O0nPogNStP6aEwSo4Z8FgeuVC/ZWoqgCQeZA3mCeQL+G8Jwn5S0oGdIFubeQnQOJDA0 ia9Q== X-Gm-Message-State: AOAM532aZhaj6kIT2WIWoPt/q6QD5NPnUoJnzS2f/LSlgjNcDT5ufBmh +UzGixeQLI8XQl1p6WEmkoNi7aSxMq9BVA== X-Received: by 2002:adf:fb07:: with SMTP id c7mr9804836wrr.88.1619254965683; Sat, 24 Apr 2021 02:02:45 -0700 (PDT) Received: from agape ([5.171.80.252]) by smtp.gmail.com with ESMTPSA id n16sm1587426wrp.50.2021.04.24.02.02.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Apr 2021 02:02:45 -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 06/50] staging: rtl8723bs: remove unused mac_reg_dump() function argument Date: Sat, 24 Apr 2021 11:01:49 +0200 Message-Id: <2ae03ee765c861d1fd4237af7b8d11a918be0d76.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 mac_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 0e13a226e9be..ad3cdbe45e55 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -26,7 +26,7 @@ static void dump_4_regs(struct adapter *adapter, int offset) i, reg[0], reg[1], reg[2], reg[3]); } -void mac_reg_dump(void *sel, struct adapter *adapter) +void mac_reg_dump(struct adapter *adapter) { int i; diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index fdd5933a3d5a..eabc21d2b689 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -148,7 +148,7 @@ #endif /* defined(_dbgdump) */ -void mac_reg_dump(void *sel, struct adapter *adapter); +void mac_reg_dump(struct adapter *adapter); void bb_reg_dump(void *sel, struct adapter *adapter); void rf_reg_dump(void *sel, struct adapter *adapter); diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index e98e5388d5c7..7951c362d664 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -2734,7 +2734,7 @@ static int rtw_dbg_port(struct net_device *dev, case 0xdd:/* registers dump , 0 for mac reg, 1 for bb reg, 2 for rf reg */ { if (extra_arg == 0) - mac_reg_dump(RTW_DBGDUMP, padapter); + mac_reg_dump(padapter); else if (extra_arg == 1) bb_reg_dump(RTW_DBGDUMP, padapter); else if (extra_arg == 2) -- 2.20.1