Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1433201pxy; Fri, 23 Apr 2021 08:00:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzU1UhstkO90Hp0lJuqQ5sAI4S9ZYOq28LcSmFLUyRlF758As/UlxWmXTa+iocQokIh2sQN X-Received: by 2002:a63:1e4d:: with SMTP id p13mr4271118pgm.238.1619190001538; Fri, 23 Apr 2021 08:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619190001; cv=none; d=google.com; s=arc-20160816; b=TQO6wxNs8D6y2Pz8vhx8pEORqxcde5sv3L55NkoWJkuCuQbGUKP1vKMyV/DMNUkZpp LimTunk2RiGzZyf1yalri2yG40DaaU6ZYGdj6lLv8cguDYWXqjcFFVApKmq27BzYKVXx UfuGQek7O1REgeCvKvdgujLa8ZmA3byG3gYvo4jyfui66GDV9VWM8ZsuiFpzF6jVUDWI WqNURyQRQOIF4ulX0Phv8VN5kC7OdsM6DkmGGx/61SakOIsawnCM1x49HFBbN40C0icM f0kRz8whGxvbnzO+dzFO89UydhqiWMs975qf2vrug3C/jMQ/sBEbc8dElepo9SB+sr2T j7kA== 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=vNBjMQOLUQhncE75aINBlrH8zAP/gk/+qkzR/90Pdxs=; b=aBfqojltsud043+z23nGiRCoz0nbnl2Rr5pliFFEm38MUGHPjuTRjeX85P7+dDT5+A dpj2UOs6jNOdWiey2q+vQPXzBxDnQ6wdyS5sdu1Jq9tY4MjFw8n9Qz1SE9NWrAzwyYNX XBq3Qb3yBFCIKunpyOQ0udPGY/j22mZhpwYjJvNYlwQCA1mrm7k+pewCpedlqyqIOZyx DChLnzf/TiFIXLO2BiTBhhEGGLq7LEJBaAFJnyT1JumFhaHiZhYWYHE18tTYNvsoNbBU IPN0HWMbCy6PmSC8q43l0UbvaEcfKeLKyUUJdCFXJcT9rRE7sk/JDnnplTBWO+OeIU+q 6o3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uLmYnd8Y; 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 f12si7450354pgf.562.2021.04.23.07.59.49; Fri, 23 Apr 2021 08:00:01 -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=uLmYnd8Y; 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 S242899AbhDWO7m (ORCPT + 99 others); Fri, 23 Apr 2021 10:59:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242814AbhDWO72 (ORCPT ); Fri, 23 Apr 2021 10:59:28 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9761CC06174A for ; Fri, 23 Apr 2021 07:58:51 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id m9so35966921wrx.3 for ; Fri, 23 Apr 2021 07:58:51 -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=vNBjMQOLUQhncE75aINBlrH8zAP/gk/+qkzR/90Pdxs=; b=uLmYnd8Y9EC4ltHjNtv5xgl+L5y2HseUsZrqa/6zSy0SJWNYWLT20nQi6enSPS+VAg dDJo1z4Z6Bgt7g0v0IzFZouYvD7QsBWmQ4oIn8L/Z9pkXjRz6lieRNOmcglss0a4+lJC G3UqD7JhcvA/m9S2HPxERlMI1RHL0a2dBnMH6nKcy6VkULNEwMITXZ9zdyUXmU7WNRgx ctuTt28QDkpjIyhGhOyIjukBev2HcdjQ/3mJ1ABWzmNzceAqcCaePwrNNsiJ+dmhLv0p ZePKqYwFlh2Iy58hr9DUgyFnWlP2j0+W+G10oSSPqVxdIS1Tv8dRcRyALrELXM5opUSZ W14Q== 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=vNBjMQOLUQhncE75aINBlrH8zAP/gk/+qkzR/90Pdxs=; b=oRA68gS+JdohCkQLUIwCAUwkSJE79lJkvT34QftRYYd7HZL85hxkBLabbBk9So3DO2 UFBNGd6DZAA7PVOxO/YwFavGl2OKPK6hyTWX9Tqj50z7AYbZtUj6E0yfSUEqv3IieMZn GlLzslWFKG8UW8BNLtS+aTXRdjKuXa9bMe1hWAIc2T3iRJbp/JT9Krj1xrUzstEOgX37 B1fgH1nCAl4ZKRFzz62I33lxUXh11eTjx0vBFhu7JWOGa1pRQ9AVl8Ovqp8WiNoWAu1L GRpFEnhQ2ZNMGpRwY8qOkBXIarcFCXvPx42T8EDSEb8JKZLocQ/6BCO8bJitEWCpqnei d91g== X-Gm-Message-State: AOAM533V9BAGj4/7aqxPzEwpxExO8uZPNrTb3YPIhEwQ+2wun4Sc/ArE DJqbdkMoJaofyk/evEHZ3LrPnYCFQbU= X-Received: by 2002:adf:d1cc:: with SMTP id b12mr5396260wrd.131.1619189930141; Fri, 23 Apr 2021 07:58:50 -0700 (PDT) Received: from agape ([5.171.72.99]) by smtp.gmail.com with ESMTPSA id f7sm9713039wrp.48.2021.04.23.07.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Apr 2021 07:58:49 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 05/49] staging: rtl8723bs: remove unused mac_reg_dump() function argument Date: Fri, 23 Apr 2021 16:57:56 +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 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 a43fa38cae62..fb12614a2bad 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -14,7 +14,7 @@ u32 GlobalDebugLevel = _drv_err_; #include -void mac_reg_dump(void *sel, struct adapter *adapter) +void mac_reg_dump(struct adapter *adapter) { int i, j = 1; 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