Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp336311pxf; Thu, 1 Apr 2021 02:24:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydl1ypNzDWcYb8U9+sUAVXqah/Abi4+8xy1X0oJvD8JP/x8WJ60EYJmij7k1NAHVDs5bPk X-Received: by 2002:a17:906:d94:: with SMTP id m20mr7888772eji.511.1617269091902; Thu, 01 Apr 2021 02:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617269091; cv=none; d=google.com; s=arc-20160816; b=KgVENqwkBtyV8SWjvNOAQ8bf3NyqbLqkmDZaIjQ8WQ+UAiyKQBfF9Wy+vpDlFj8RMc 3huY37Ihgo1Fa8gzC4V2LVJCMKv7D2seNEyw9obwLj0XaKrsm4KHId2YyE1L0nvlPT1n WAKJKEEAHkxuxo/efYzE+b2KbhdlMuLZQxe/B7US4Q+sPGb50fo5w57yCeS2PYcA2O/h CecJxWpvtLKBVjp+Hk8G9VuXNYHlSf5BPlyyPxnDDyAvaPym7B/sprlMGOaOcR3QakD3 Uo6/qwivvw6RWSbyc1D3h9T0+kWCNozcke4GzodEkR/3r1WAo9yBtmiJTc2omQ46wv1t lRww== 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=sImYT5a31VugEjaDWHwKVvdnq1RG+mL1lH4qbjS+quA=; b=iqCmiv3jX9xSxr+mvDBwRCMsyaMBHvb0Gp4nrxcxC4jfHQEYVqFgGivIi9O0YHIZUf ulMZ1co/5L9PYNbLSTuyrRvsXi2EZQ8BfAdC+9uE+H2ZFG9Ou5VOlrO9KJJ2x1jcD/O5 g3l/9S+akMivkgP5moRvJoXs+z0pcHYUz3X4jUptWhaObtTaP6mrMGxqCOtYlIes84iV dqpyegucXJPcARheBF//+gfuyLMZ5cjhyq++bCVFzmY+8KVAoVhnXI0rbmpMey4IN+C8 DNcCgLzHy1OBAsJMLCx99GCHUaKJ5mAvI4a38dkizPsAhoQwwDIHd8MfXIhLiJ8gEhKZ 44VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="uNeo/uc5"; 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 o7si3714137edr.131.2021.04.01.02.24.29; Thu, 01 Apr 2021 02:24:51 -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="uNeo/uc5"; 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 S234044AbhDAJXN (ORCPT + 99 others); Thu, 1 Apr 2021 05:23:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233896AbhDAJWS (ORCPT ); Thu, 1 Apr 2021 05:22:18 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C5F6C0617A9 for ; Thu, 1 Apr 2021 02:22:17 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id r12so1849708ejr.5 for ; Thu, 01 Apr 2021 02:22:17 -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=sImYT5a31VugEjaDWHwKVvdnq1RG+mL1lH4qbjS+quA=; b=uNeo/uc545h+45KS9V7naJiTIO8ui7aX+XNyLC7sKtLJnTW0wNb5WbrJP6YvJ9k3i9 3Dhk2MHSafXP4EQU9vwXcZ/bKKCeKuZAa1/RbqTaFSm6EIBWA9/VU+9wgRQLf/wJwdk2 mC7sDqdG7xWVv1vSqSbAU4MOrG4DmPfi/aJcx+SND0INIxKlgE8LNGHyYFeP8Nj/HS4Z PEYfD5rRjBq9JhTy2Zl6oMROD9vhN3F43pKplQRCBxLmgZCHao3UnWS6sSfF5y1si0y7 twDaNPjwAtApVqaAZ4xXVqhFJ+xfOQGfmpwg6iaiPJiiiqtfoOrbb/TycWajLCC7+fJ6 bpLQ== 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=sImYT5a31VugEjaDWHwKVvdnq1RG+mL1lH4qbjS+quA=; b=o1hNqAYig3IUjSa/3JlPPwuj8LiTupxaDTJIxCJ6f33I3O43U49DYBJvyKVmlg1G3z t82KlqgijKu9Wl/4sSS8cLD/Tv1zAGs0OoSt53+xcL7MAH8C2Wljz2mGmz8Xm4p/rcGC RL7HAFwDdBotxGVna9YhNWpe2uz99XmHKohSbc2TPYmeaDrXIiulTKWEXsZd4fKyq87M fdeRTlP4SN4yK/ddeI+FQ1fcgBlt0RdbIfMiecx9bdeonQm8R62KkWgm7pWRgJG7wi6g E2WGCmzo+osi67aaOkUPc41cD9uK66wvjr7V3/rgRIHUXuNrcMLlcppu12qWBAdi4cYK VjIg== X-Gm-Message-State: AOAM533k2x6uzfeWeIVXgB//tZQorzny1Ql1+5uG9cyHyPUKcjKn9ju7 Yr4cheDVWuDkG8LNQWhhGCQ= X-Received: by 2002:a17:907:78d9:: with SMTP id kv25mr8251472ejc.415.1617268936183; Thu, 01 Apr 2021 02:22:16 -0700 (PDT) Received: from agape ([5.171.80.247]) by smtp.gmail.com with ESMTPSA id b18sm2522428ejb.77.2021.04.01.02.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 02:22:15 -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 32/49] staging: rtl8723bs: remove RT_TRACE logs in hal/rtl8723b_phycfg.c Date: Thu, 1 Apr 2021 11:21:02 +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 all RT_TRACE logs Signed-off-by: Fabio Aiuto --- .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 32 ++----------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c index 2abff4673be2..2b9254000526 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c @@ -551,7 +551,6 @@ void PHY_SetTxPowerIndex( break; } } else { - RT_TRACE(_module_hal_init_c_, _drv_err_, ("Invalid RFPath!!\n")); } } @@ -604,11 +603,8 @@ void PHY_SetTxPowerLevel8723B(struct adapter *Adapter, u8 Channel) RFPath = pHalData->ant_path; } - RT_TRACE(_module_hal_init_c_, _drv_info_, ("==>PHY_SetTxPowerLevel8723B()\n")); - PHY_SetTxPowerLevelByPath(Adapter, Channel, RFPath); - RT_TRACE(_module_hal_init_c_, _drv_info_, ("<==PHY_SetTxPowerLevel8723B()\n")); } void PHY_GetTxPowerLevel8723B(struct adapter *Adapter, s32 *powerlevel) @@ -648,24 +644,13 @@ static u8 phy_GetSecondaryChnl_8723B(struct adapter *Adapter) u8 SCSettingOf40 = 0, SCSettingOf20 = 0; struct hal_com_data *pHalData = GET_HAL_DATA(Adapter); - RT_TRACE( - _module_hal_init_c_, - _drv_info_, - ( - "SCMapping: VHT Case: pHalData->CurrentChannelBW %d, pHalData->nCur80MhzPrimeSC %d, pHalData->nCur40MhzPrimeSC %d\n", - pHalData->CurrentChannelBW, - pHalData->nCur80MhzPrimeSC, - pHalData->nCur40MhzPrimeSC - ) - ); if (pHalData->CurrentChannelBW == CHANNEL_WIDTH_80) { if (pHalData->nCur80MhzPrimeSC == HAL_PRIME_CHNL_OFFSET_LOWER) SCSettingOf40 = VHT_DATA_SC_40_LOWER_OF_80MHZ; else if (pHalData->nCur80MhzPrimeSC == HAL_PRIME_CHNL_OFFSET_UPPER) SCSettingOf40 = VHT_DATA_SC_40_UPPER_OF_80MHZ; else - RT_TRACE(_module_hal_init_c_, _drv_err_, ("SCMapping: Not Correct Primary40MHz Setting\n")); - + ; if ( (pHalData->nCur40MhzPrimeSC == HAL_PRIME_CHNL_OFFSET_LOWER) && (pHalData->nCur80MhzPrimeSC == HAL_PRIME_CHNL_OFFSET_LOWER) @@ -687,27 +672,16 @@ static u8 phy_GetSecondaryChnl_8723B(struct adapter *Adapter) ) SCSettingOf20 = VHT_DATA_SC_20_UPPERST_OF_80MHZ; else - RT_TRACE(_module_hal_init_c_, _drv_err_, ("SCMapping: Not Correct Primary40MHz Setting\n")); + ; } else if (pHalData->CurrentChannelBW == CHANNEL_WIDTH_40) { - RT_TRACE( - _module_hal_init_c_, - _drv_info_, - ( - "SCMapping: VHT Case: pHalData->CurrentChannelBW %d, pHalData->nCur40MhzPrimeSC %d\n", - pHalData->CurrentChannelBW, - pHalData->nCur40MhzPrimeSC - ) - ); - if (pHalData->nCur40MhzPrimeSC == HAL_PRIME_CHNL_OFFSET_UPPER) SCSettingOf20 = VHT_DATA_SC_20_UPPER_OF_80MHZ; else if (pHalData->nCur40MhzPrimeSC == HAL_PRIME_CHNL_OFFSET_LOWER) SCSettingOf20 = VHT_DATA_SC_20_LOWER_OF_80MHZ; else - RT_TRACE(_module_hal_init_c_, _drv_err_, ("SCMapping: Not Correct Primary40MHz Setting\n")); + ; } - RT_TRACE(_module_hal_init_c_, _drv_info_, ("SCMapping: SC Value %x\n", ((SCSettingOf40 << 4) | SCSettingOf20))); return (SCSettingOf40 << 4) | SCSettingOf20; } -- 2.20.1