Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2924301pxb; Tue, 13 Apr 2021 13:50:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfmcmrl73hPDVEkPXE0CoB9E2k5xoCx/ZvjYpOSVrEvM3GDBfLfbBURmUvh0c8+LmYpu4b X-Received: by 2002:a17:906:b6c5:: with SMTP id ec5mr23834841ejb.290.1618347021651; Tue, 13 Apr 2021 13:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618347021; cv=none; d=google.com; s=arc-20160816; b=Sh1PMGfp1GoL2Ih2x2Ehsrlz7Orc8pezPZOipvojjGhDrM39BF2Rg8r4w5/YeBTuoi O0YVYO8JVqjR+JsKaGiaxHYaQLqki3FRMZudr5xcWpr5HFN7O5k7ITLo/PbMPNq4J7/6 wpcKvagwGZZFu4GDcf7lnUPheOPs82+EiB5zD561yzN+/ViNobC0S67+RwvhSs+p5wlL 6qVODE3EDu5TRRxkNo5XCXwU779tgNurgFl5f215iwJHvwCU1uqksvfE5PBe0kjSVLio mfAjVxXYUI58orUBcKcTBfmkB5q9x736t9w5a/LF8b8m4ojjjwlSeIUTioUUlolfFmBX YVKw== 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=mxm5KFb0Zr3N6yT/g3jSuxk1uSHd+PdMrLBhNRXzeWr0z7GIJhMB49ffLTzQuJRWlM o/UMe8d1WucT1QTApvjH0ix6qu4NMzF+qLv8AEhhtZKp8HvlXfttIiXhxlnvqlRX0qnV CgUHVxPXUSDprcQOaO3pGzaUKaz6c+0hVEgZB6ehKd7IDfVGg6U6/60rBHRdkWxaMOtV ECkrnGrrF2zVatSXEMOo46SKxEztBHPSTL78rzQNcXX9wOsfUTRi9UMWgYTi/oeGPO3V VMcv4btOE77wcL7XfhsaO1+c1TA2opQYcWXs0EP/N72B4E98Ww+ISRD7B1KgPt6rUSGo 1CQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="IaQucwZ/"; 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 h16si11879177edv.366.2021.04.13.13.49.50; Tue, 13 Apr 2021 13:50:21 -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="IaQucwZ/"; 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 S1345203AbhDMO5V (ORCPT + 99 others); Tue, 13 Apr 2021 10:57:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245193AbhDMO5K (ORCPT ); Tue, 13 Apr 2021 10:57:10 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7655C061756 for ; Tue, 13 Apr 2021 07:56:48 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id h4so7749247wrt.12 for ; Tue, 13 Apr 2021 07:56:48 -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=IaQucwZ/k3wSgPemYP4hvYCtorTRGTw3JOwACKfee61xAFKbl6wbZLJ+byB6w0RpZm WSkN7ayAZwJZKUFlNBZRC1yFkeUAukF+0R2GLKLKXp2BGdJtVQp4TpnlcvYS1lCyh76t K19h8SNi01MpRRQ+LjSKsgQUgwaSQQ1Fyze64li9rStXcvongVuotKJc/6WslyKsl8LL X040IeLRvg6EICSRY9ySDVWhztvPWMojQwb5ptg4Hd6omsEGsAA5trdT3MBP2OGZoaRu nVxUHU9luWmIIqyKJW4LvNc/6H0rSSXKbWMJCtTdTU335hCA1aJ5ncJXdO4g2051Q3fl LKHA== 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=ddSOhQv7Pt6buRaUKJIbe2e59l4qnPB9/Lo6kjkKxGuHWEAbhidLzytwnxba2dodoq 5tflGGrqev0XQt6h43RihPC98LM3vDcuj5LppGEsLVBP/1zEfdI59hHUVp46xGJXgisK ob07aSwELP4pKsc/FJ7wLv0FdJUOb3Da83CdAk2/L14lUbHrDPtVidAx9nqt57IdIzbD ZFn3GhsHBbwP65dypCTsgZlP6oypRbCSNfSfxkp0IPUC0AJFlABLzOucHF+c+MXr8+Uu cOKPT+z2/Z6qnHL9PrbAjdZNUxWwkxnpZvFbu7QB0s+QAUkAvRYkpxzKnY/RKLz7zFeS D2SA== X-Gm-Message-State: AOAM5335nNkgFnMSkUwOtJEJPAJ8FgLZyekgkVlnjRmbAcD81m4FmLWt qb5/MO9rMd9i15KHbsKIkPBhPJP+Ylf8tg== X-Received: by 2002:a05:6000:1acb:: with SMTP id i11mr37844029wry.68.1618325807413; Tue, 13 Apr 2021 07:56:47 -0700 (PDT) Received: from agape ([5.171.81.171]) by smtp.gmail.com with ESMTPSA id f9sm2753104wmj.38.2021.04.13.07.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 07:56:47 -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 7/7] staging: rtl8723bs: remove unused argument in function Date: Tue, 13 Apr 2021 16:56:35 +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 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