Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp343142pxb; Wed, 14 Apr 2021 17:18:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3LwsZPk8XMmI3jlOfHH1/Nr7ac56uhW4TtFfINxxXBOGlBrSQbEMPXrsflvvyvt40X1Py X-Received: by 2002:a05:6402:b26:: with SMTP id bo6mr984353edb.162.1618445919289; Wed, 14 Apr 2021 17:18:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618445919; cv=none; d=google.com; s=arc-20160816; b=t0M5Kkuih44MgfrkNmti+sE5m4a9ochG7ElRpRbTWbRWsIXs0wzHmL/8Ts0qwl0Cl4 61AZXukyxLjfNasHe9SvtptdzbSsRvkh68V7PsT23fU6ixytYfSeTyjU5XvKIt1ax+eL fD7GA/MQ4Cxwd0ZeiTK5URSceJ9oL8x3TQ3b52SaD7/asLpQdgD+/yaVmB6YUw2o1uFk 0s7mzsbhvRArWz32r3jSjKyTkqQc3dR4CiaB/Gihj3XS7IEpiK12LdcaWD2eMBcW5K2L TvU7/yUDPcz6pGObyOZvgEyMeo9rAc4Ff2dLBiGs7XL9FrKIHT6XdXCxF+yLo7CP0txZ hM/g== 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=ZHxXKOLbXXf4jCbvUXo0q9HvS5LSluPLIgJqE3tNdY0=; b=AeFW8Pk9M+eVm/so6uT0mpahVEvPXcyUv9l0F5LuZ4S12GIs7bc5K9jUUSCjvLJgLJ wj6/sZicl+FW7E45+gf2b3WghOAzwGlHLRI4bUBxNi7fSB157ZFlr1ptKZqlqCwcpQzf JhO6d3O3rKrnAOjSG80vdMRTC1nEJnBaZQRvbYWRH5DvWObWYtdwE/09NMiAWI0BcvqO N4wrub+MVJFiYndO3rLYPJ98hvue+GDjyjFwmiCnFeAEzMfEqmZd7xSGZia2JsT9yLb3 ijejYRl8GUGA5SEJlni2o6OxGds+W+ErGn4NtJBdrh3lu9HA5i0yhRD4Qnp6QROI60tq vMgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gJkkFRfN; 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 hs11si843178ejc.421.2021.04.14.17.18.16; Wed, 14 Apr 2021 17:18:39 -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=gJkkFRfN; 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 S1350832AbhDNMTc (ORCPT + 99 others); Wed, 14 Apr 2021 08:19:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350808AbhDNMTV (ORCPT ); Wed, 14 Apr 2021 08:19:21 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A085C061574 for ; Wed, 14 Apr 2021 05:18:58 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id w4so15934162wrt.5 for ; Wed, 14 Apr 2021 05:18:58 -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=ZHxXKOLbXXf4jCbvUXo0q9HvS5LSluPLIgJqE3tNdY0=; b=gJkkFRfNXLvG4jt+tAedtlI9HMvzaW04dmh3umM3HcL8YBFQ+HkYbIUYSYA2P9GnMv 1u0CWq7g/42eETBBi5xylMZwd6YsTRCjNW/l4Ld+PNkBzcs+BuJ/nLczCUaGwAHZ2KfB UmxMlJOpTDs1KNwP8+QZlKBZTo3Now9+/+3Emb+bX2HylDkKipWSktda+6sPbhK/77aF 2sSJOgAHyV1Jd+9P3jYmzWvD05vHKyZiVc8Vyb1y/VApvIPJk666HGZnMYRN8Kq2Or3D ys1z5kYexo9d9tiosq9ZtQr7YSM8wwe8QhFGPVE9p647Q5RujHhPG4FRUdAVeBUTyMw4 isrg== 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=ZHxXKOLbXXf4jCbvUXo0q9HvS5LSluPLIgJqE3tNdY0=; b=ApbFetg7zmPdrmJhQ21kdiJwyqWZD7D8khIZqHma3K/GxSQYdFkqYUOd0/G6yPkG/P gZ4ZEF5xgrKKMSj+CUyaPFDJuIEYGQjD+V34kXruCVphSZ1bEk4+PaWj2A16GKxP9Asb J1aOw9hE3xvoPe2P+1N6NqwMuQkbuXClC9spYJlrdYDigv8vwcTpllIf2nn6eH4pwUu+ zK4ig2iQU8AxfDBU2tLnSveUnnEuTO/VjjsV8wf1JhngAvII2WOTPG6XAmJX3A3rG+Oq 7g0Vbrv22zkZRlvkpAA1h282qsbcvPcuCFk36Z+/RtMcdq2byQ4MQd0A9gD6Xn+dQKhA vdng== X-Gm-Message-State: AOAM533GfzGej++G8vpxi8KI7XGLyRTGGM9SUYI76pL04gPolZN7yzQj TFV1EWl3iUnwFzRfuX7mn1wSZPRKHgZ5zQ== X-Received: by 2002:adf:dd50:: with SMTP id u16mr12208810wrm.380.1618402737189; Wed, 14 Apr 2021 05:18:57 -0700 (PDT) Received: from agape ([5.171.26.216]) by smtp.gmail.com with ESMTPSA id u9sm5237502wmc.38.2021.04.14.05.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 05:18:56 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: julia.lawall@inria.fr, joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] staging: rtl8723bs: remove unused argument in function Date: Wed, 14 Apr 2021 14:18:50 +0200 Message-Id: <1bd83b936584432fdb09406f26ed8a8b66cd4c8d.1618401896.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 removed unused 'void *sel' argument in rtw_odm_dbg_comp_msg() function, after DBG_871X_SEL_NL replacement. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_odm.c | 2 +- drivers/staging/rtl8723bs/include/rtw_odm.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_odm.c b/drivers/staging/rtl8723bs/core/rtw_odm.c index f4a0ef428564..f6b73a2a0270 100644 --- a/drivers/staging/rtl8723bs/core/rtw_odm.c +++ b/drivers/staging/rtl8723bs/core/rtw_odm.c @@ -90,7 +90,7 @@ static const char * const odm_dbg_level_str[] = { #define RTW_ODM_DBG_LEVEL_NUM 6 -void rtw_odm_dbg_comp_msg(void *sel, struct adapter *adapter) +void rtw_odm_dbg_comp_msg(struct adapter *adapter) { u64 dbg_comp; int i; diff --git a/drivers/staging/rtl8723bs/include/rtw_odm.h b/drivers/staging/rtl8723bs/include/rtw_odm.h index 263e92cfea96..94fc68a5c424 100644 --- a/drivers/staging/rtl8723bs/include/rtw_odm.h +++ b/drivers/staging/rtl8723bs/include/rtw_odm.h @@ -13,7 +13,7 @@ * This file provides utilities/wrappers for rtw driver to use ODM */ -void rtw_odm_dbg_comp_msg(void *sel, struct adapter *adapter); +void rtw_odm_dbg_comp_msg(struct adapter *adapter); void rtw_odm_dbg_comp_set(struct adapter *adapter, u64 comps); void rtw_odm_dbg_level_msg(void *sel, struct adapter *adapter); void rtw_odm_dbg_level_set(struct adapter *adapter, u32 level); diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index 98c9eb399ba7..816033b6847c 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -2622,7 +2622,7 @@ static int rtw_dbg_port(struct net_device *dev, case 0x16: { if (arg == 0xff) { - rtw_odm_dbg_comp_msg(RTW_DBGDUMP, padapter); + rtw_odm_dbg_comp_msg(padapter); } else { u64 dbg_comp = (u64)extra_arg; rtw_odm_dbg_comp_set(padapter, dbg_comp); -- 2.20.1