Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp336942pxf; Thu, 1 Apr 2021 02:25:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytKy70SrQkXguxf3zDy+QxeuHnoH68fWN1Gh2xv2gRyTP+D2K+mKGM1gyXKyA1uIV0AflD X-Received: by 2002:a05:6402:c8:: with SMTP id i8mr8864907edu.57.1617269156619; Thu, 01 Apr 2021 02:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617269156; cv=none; d=google.com; s=arc-20160816; b=Re+mfcxSHw2FII7xJN2wzMAsPcAzhwtvoIyyWXFvGm92D59MWQphsS4q51hduCs72G IIIcBL7OrNZE6aggW5SCGVHKCICdAtob++3XpEcsLclXiQ/g7eDSR6NZK23aa+LFvQKV dEiOzPU3Yr4Uohh73Sz1rk6gatpNEb5hkSaJXOc3brkzIHnWAmbuGv9naPjP7s0k8vlB ZJUs5t9l8QIkHsPJe0vkvnCiIvvPKx5LEnXq9uXjs9dJT9dPh0DKsUYpw+OcxOkfWRL3 njdcR90pfwn9mItdparCSkdKkp+ijQVRTnPso67aKUbfBSqdOZODM9esL/wV9a9GGnz/ nw5A== 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=4uET64dyZ9Hm0pwJAXZNONIy0WBkkm1uCrrvEqR1Lv8=; b=Pkag7MzFARQ47SGfl2jdnOYASRJiPMFYGQeauYNep36N+fbD3IKd81mvBCURcfO5p5 Un4Omc3SvSviuqgBLrqZOpiSiOXFlSGe+gRXfgegtk22UcynxREgYwGHpivKPhIGwmJd x1Jiow+ljDHtjP7hXuzmFcEtDriNomR2Pdkv9UMQD8XnBdwdT21IHvTn75vRA0B3SSXD c6o2cc30ht1YWM6CvswrfrvRFxjh55LM0gyTOvGx2Jpp++uHcRWokjfdSV+bkDijtT3D bhTYbkUCrqUiecdCttMkQSm82/BGudrk5qyCZn7LsWaORBDHeS9yRMa5gCk1rI+/jHvn l5Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=axqyY5Qm; 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 n1si3788314edd.229.2021.04.01.02.25.33; Thu, 01 Apr 2021 02:25:56 -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=axqyY5Qm; 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 S234156AbhDAJWr (ORCPT + 99 others); Thu, 1 Apr 2021 05:22:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233820AbhDAJWB (ORCPT ); Thu, 1 Apr 2021 05:22:01 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E0ACC0613E6 for ; Thu, 1 Apr 2021 02:22:00 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id b7so1875643ejv.1 for ; Thu, 01 Apr 2021 02:22:00 -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=4uET64dyZ9Hm0pwJAXZNONIy0WBkkm1uCrrvEqR1Lv8=; b=axqyY5QmBXNga6a0mEEGIoHzYlGDBxb4Awu43ZmGbyS0Srt7RcrRaKimikl8hT3pGh fv10sbS6IxLhyAdczZTTpC/sCddgT9rQtJtP0NxJUaU49uZUY9IFJ2EFl0xH0broAA6L N2NePl4xP+bVJQTi28vFAfyVKDLaeyZJRqnw3pmdT0jvnhWZ+ZgQt0SvvelBN6vLDdns qYtWcDGWxOkkaEZy9ckxUxoHyi8PA0MlsqcPaw8eKwAZaC9iNEPoE4P4WPp7Rvv8TL4w n/E7AbGg+AErFHMwo+z5oV6Xcikxj9ErzSlgbOZfeP9KwC4eyWytjT1iAR7GaxG6UVnR I6Rg== 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=4uET64dyZ9Hm0pwJAXZNONIy0WBkkm1uCrrvEqR1Lv8=; b=fdAa5eedmUkjySjNgwEdaIiyh6mdkpGjm/t28nalXc8qbCmxMuGVbvrrYhitId952S SGfqa7KybOMs3/pyU/169ruWg/bmtPaFgNHFDehMqDG94kffDviyOOlOfw9UCuVCsOP8 JORXsEf/Xc6Daev8rUUZ4SX0UQSHwkmJW4jOM9vDs8CXcedrXeV8H7ac85yk/oyISWHf S8x12SvBy/2Nw+42BV84Q2YAb7KIiiIIQ5sCKYn/rlwJECN6P+MzNzZH6xK6LEThX7AC 5hz2KX3fOr+pEvZ0PlPj/F+iF7YViaPZ28r9W1eCRMd4FrN7ewxLBLqX7tYuUDjxQ92I thVg== X-Gm-Message-State: AOAM533QLfG35QXRZXAnw8qzXpGGj4jefwQErER2Az/grgVujhj1Rx9Z 7lXaGGFxPxgISfPsiEnUyEo= X-Received: by 2002:a17:906:4d96:: with SMTP id s22mr8069904eju.189.1617268919405; Thu, 01 Apr 2021 02:21:59 -0700 (PDT) Received: from agape ([5.171.80.247]) by smtp.gmail.com with ESMTPSA id e16sm2466632ejc.63.2021.04.01.02.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 02:21:59 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: joe@perches.com, dan.carpenter@oracle.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 22/49] staging: rtl8723bs: remove RT_TRACE logs in core/rtw_sta_mgt.c Date: Thu, 1 Apr 2021 11:20:52 +0200 Message-Id: <7f9670d4021d59191bf202b6a7e3e13c5598aa25.1617268327.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 all RT_TRACE logs Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 25 -------------------- 1 file changed, 25 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c index f96dd0b40e04..7dcac4dd9de2 100644 --- a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c @@ -216,10 +216,7 @@ struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) index = wifi_mac_hash(hwaddr); - RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_info_, ("rtw_alloc_stainfo: index = %x", index)); - if (index >= NUM_STA) { - RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_err_, ("ERROR => rtw_alloc_stainfo: index >= NUM_STA")); spin_unlock_bh(&(pstapriv->sta_hash_lock)); psta = NULL; goto exit; @@ -242,17 +239,6 @@ struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) for (i = 0; i < 16; i++) memcpy(&psta->sta_recvpriv.rxcache.tid_rxseq[i], &wRxSeqInitialValue, 2); - RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_info_, - ("alloc number_%d stainfo with hwaddr = %x %x %x %x %x %x \n", - pstapriv->asoc_sta_count, - hwaddr[0], - hwaddr[1], - hwaddr[2], - hwaddr[3], - hwaddr[4], - hwaddr[5]) - ); - init_addba_retry_timer(pstapriv->padapter, psta); /* for A-MPDU Rx reordering buffer control */ @@ -363,16 +349,6 @@ u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta) spin_unlock_bh(&pxmitpriv->lock); list_del_init(&psta->hash_list); - RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_err_, - ("\n free number_%d stainfo with hwaddr = 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x \n", - pstapriv->asoc_sta_count, - psta->hwaddr[0], - psta->hwaddr[1], - psta->hwaddr[2], - psta->hwaddr[3], - psta->hwaddr[4], - psta->hwaddr[5]) - ); pstapriv->asoc_sta_count--; /* re-init sta_info; 20061114 will be init in alloc_stainfo */ @@ -543,7 +519,6 @@ u32 rtw_init_bcmc_stainfo(struct adapter *padapter) if (!psta) { res = _FAIL; - RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_err_, ("rtw_alloc_stainfo fail")); goto exit; } -- 2.20.1