Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp335823pxf; Thu, 1 Apr 2021 02:23:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZz5mERlqmRJc8Nl/WADSLB9FiqfpGMBPtvMF0ZjINpTElUQrDBMZxjQVWhDiikbLTWQa2 X-Received: by 2002:a05:6402:32d:: with SMTP id q13mr8822847edw.17.1617269033277; Thu, 01 Apr 2021 02:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617269033; cv=none; d=google.com; s=arc-20160816; b=LiBEf5oYCDsGVgbhnSyWG5Zjujhy987hNOi0pOroXLEuaB8m09xtBipG2nE2QkbUvt fUYuNA6OpimSxIhZq55tCSim6d7xj+utlNLycVk4eCiJnx4Pe4/WWOjsX81O7Zm0mSRk N97eI6dPT7HcFwUCMhopxFPrBi1u+bDIxr8IOa+4hGqhg8CCNwDSGreDQBGX1vTUhJUP DiM/Tf8nGTPAeIObENxWu3brxeIU2ul0kWvvvGC8+h+vkOkJH+AudZZzLx5pMsDQLLcv 5Y2HRPyeXXtq8Y4CgKrYsFQ6HRgfjmS502U9ME476RJTxy9RGlPSruec7NM0x8GUrRTp UCBA== 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=AMS2eCUz59fiquFDlIJ/2E2yFRWtG9lrxBM+k+Ru9/I=; b=dqGA0Spd9Rt3QQQ/17v1bxvim3zd9l4hoYQUIboCUQMA6iCPhTzk9RXe21NLzvLNnj 5pcqEbErwaUlzwTjsZgtP5ejo6VHaSn3JiKmYPq0Fcq+lop0NO/2flxkFv2haoPE7gS8 CPzoolWq+0Td1r+aPknev/PbJjzmd6rB4BQe7lZlLloB7Sk710vHW8Lk3YgfLtga5Pq4 8nDi/484tfgj/WjMKyyENMK9kNBvaaMuzABFX6+r82MjtZ7R1SrMkEdQKBum4I7Mm12w pZekX7aIDX96DuxJiQgRVxwIXjiZhz7F4lxicMxdnIyOW03FLKBo47qNFZ7TTUU+7grB VRLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UiljXqLz; 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 c11si4014852edv.591.2021.04.01.02.23.30; Thu, 01 Apr 2021 02:23:53 -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=UiljXqLz; 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 S234065AbhDAJWj (ORCPT + 99 others); Thu, 1 Apr 2021 05:22:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233758AbhDAJVp (ORCPT ); Thu, 1 Apr 2021 05:21:45 -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 864E0C0613E6 for ; Thu, 1 Apr 2021 02:21:45 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id ap14so1903872ejc.0 for ; Thu, 01 Apr 2021 02:21:45 -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=AMS2eCUz59fiquFDlIJ/2E2yFRWtG9lrxBM+k+Ru9/I=; b=UiljXqLzKvMDMON/F2VimYWNIAbgPIC1MFUCOWeYg9W7mCWl4zf4LjnMkC5h1qXZJv BOJqaFuADWAM6mWLq7Q7pd6FimMVsP7T2cV8sdqCV2fbQqvZfA1QF4SOcqsrLS7dlPmh eaaFndB8Z1m0FdW4mbQIA6m9MU1aZD1WK1aIjDeEowja7zlIZsxnDGdbS1UZrEHBXapa NmhSObpirXfHz5Kxr/IX917w8GDwfnAfIUPbpaIyBQFq9dO0JRjPdPMdhht3gZdEYkro YRXv9KWL8OMstmJGEgANYLap6W+gUKirP1AQDy5/lPPKCVOFLMmARvJB4C0LLqthyFAe NG+w== 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=AMS2eCUz59fiquFDlIJ/2E2yFRWtG9lrxBM+k+Ru9/I=; b=gknNER8EGYt0X6vVxYHBG9HNH5TXrkJnMUVOCJrI1l/XtK0KqvtVS35MuNbz56Jrug 6egZA+Lq76tmWdnZdEBn7ILCf+8dXkcvHnD6WEdTQs0WeTh4YZK8BXCuD9/7Zty+wk92 zhhGfG6ZbgpEEvkLYo7qok+e+CaffXQi/TIl45dVhWxs2htiinb2GPbGvPgbv0JC2VNa /euTNwfcmJvEu2tvk0JB/vrkTisPx1sJ4/t7vB9vR+PJvrlRDggzyQGZPpJeHuSB0zVx Rht13ylsxQdH9dn6qTRydymGNN2FNYzwmBLE3Xvd6lYXZ4Ur7RaD/CE58+97TFjZ0Hfy h0xg== X-Gm-Message-State: AOAM530h+NvXBtlvLM7NAgjBco5f5Z6wW62+N0Dj8mFhHz6dWCil1s8A d8YyrLsm5mi2d0HqraskbxI= X-Received: by 2002:a17:906:edca:: with SMTP id sb10mr7899321ejb.398.1617268904296; Thu, 01 Apr 2021 02:21:44 -0700 (PDT) Received: from agape ([5.171.80.247]) by smtp.gmail.com with ESMTPSA id m14sm3138936edd.63.2021.04.01.02.21.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 02:21:44 -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 13/49] staging: rtl8723bs: remove RT_TRACE logs in core/rtw_mlme_ext.c Date: Thu, 1 Apr 2021 11:20:43 +0200 Message-Id: <2585af265f479fdf2c0b41a106fdd4c09471b874.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_mlme_ext.c | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index 8aadcf72a7ba..222d91773738 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -526,12 +526,7 @@ void mgt_dispatcher(struct adapter *padapter, union recv_frame *precv_frame) struct dvobj_priv *psdpriv = padapter->dvobj; struct debug_priv *pdbgpriv = &psdpriv->drv_dbg; - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, - ("+mgt_dispatcher: type(0x%x) subtype(0x%x)\n", - GetFrameType(pframe), GetFrameSubType(pframe))); - if (GetFrameType(pframe) != WIFI_MGT_TYPE) { - RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("mgt_dispatcher: type(0x%x) error!\n", GetFrameType(pframe))); return; } @@ -546,7 +541,6 @@ void mgt_dispatcher(struct adapter *padapter, union recv_frame *precv_frame) index = GetFrameSubType(pframe) >> 4; if (index >= ARRAY_SIZE(mlme_sta_tbl)) { - RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("Currently we do not support reserved sub-fr-type =%d\n", index)); return; } ptable += index; @@ -2675,8 +2669,6 @@ static int _issue_probereq(struct adapter *padapter, int bssrate_len = 0; u8 bc_addr[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; - RT_TRACE(_module_rtl871x_mlme_c_, _drv_notice_, ("+issue_probereq\n")); - pmgntframe = alloc_mgtxmitframe(pxmitpriv); if (!pmgntframe) goto exit; @@ -2743,8 +2735,6 @@ static int _issue_probereq(struct adapter *padapter, pattrib->last_txcmdsz = pattrib->pktlen; - RT_TRACE(_module_rtl871x_mlme_c_, _drv_notice_, ("issuing probe_req, tx_len =%d\n", pattrib->last_txcmdsz)); - if (wait_ack) { ret = dump_mgntframe_and_wait_ack(padapter, pmgntframe); } else { @@ -4441,8 +4431,6 @@ void start_create_ibss(struct adapter *padapter) /* issue beacon */ if (send_beacon(padapter) == _FAIL) { - RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("issuing beacon frame fail....\n")); - report_join_res(padapter, -1); pmlmeinfo->state = WIFI_FW_NULL_STATE; } else { @@ -4622,8 +4610,6 @@ static void process_80211d(struct adapter *padapter, struct wlan_bssid_ex *bssid memset(country, 0, 4); memcpy(country, p, 3); p += 3; - RT_TRACE(_module_rtl871x_mlme_c_, _drv_notice_, - ("%s: 802.11d country =%s\n", __func__, country)); i = 0; while ((ie - p) >= 3) { @@ -4813,9 +4799,6 @@ static void process_80211d(struct adapter *padapter, struct wlan_bssid_ex *bssid break; chplan_new[i].ScanType = SCAN_ACTIVE; - RT_TRACE(_module_rtl871x_mlme_c_, _drv_notice_, - ("%s: change channel %d scan type from passive to active\n", - __func__, channel)); } break; } @@ -6332,10 +6315,6 @@ u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf) #ifdef CHECK_EVENT_SEQ /* checking event sequence... */ if (evt_seq != (atomic_read(&pevt_priv->event_seq) & 0x7f)) { - RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, - ("Event Seq Error! %d vs %d\n", (evt_seq & 0x7f), - (atomic_read(&pevt_priv->event_seq) & 0x7f))); - pevt_priv->event_seq = (evt_seq+1)&0x7f; goto _abort_event_; @@ -6344,16 +6323,12 @@ u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf) /* checking if event code is valid */ if (evt_code >= MAX_C2HEVT) { - RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("\nEvent Code(%d) mismatch!\n", evt_code)); goto _abort_event_; } /* checking if event size match the event parm size */ if ((wlanevents[evt_code].parmsize != 0) && (wlanevents[evt_code].parmsize != evt_sz)) { - - RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("\nEvent(%d) Parm Size mismatch (%d vs %d)!\n", - evt_code, wlanevents[evt_code].parmsize, evt_sz)); goto _abort_event_; } -- 2.20.1