Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1442386pxf; Fri, 2 Apr 2021 10:32:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrp3CVsA2b+Bid5q4lG3XP1q35AmZiIAamhHXhRQQ02p1rBo4oJBFt0LDlo6f5M7nTr0si X-Received: by 2002:a17:906:26d4:: with SMTP id u20mr15682071ejc.114.1617384776747; Fri, 02 Apr 2021 10:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617384776; cv=none; d=google.com; s=arc-20160816; b=ogb58Kej1TfIwBMC9RRoY7wZS9W0v1PTdenUp0q4wtT7UBTgSBWIaPa872h6D54m2U nl4syhhb3XPzR9Mr6Fa84ahTyfKbTTq3CuZuOIGWC1K2OPXje2nFUs2v3aOT6ww2+vpY /oIRiMe2yM05T18jYlrZeqx5Apzd8+ULzBxryKieS4auS8iE/fC7RAZmsGatpMDhSkPf qa9XNc9FxNf4/UikPW2mwhzE3CHcOHmXRYh9GaROPHJ6dQkr3/vJvQIuVy0XMRiqk/bD jHIUcogHz0diQaB0Vqe/8dVwCvrCbJg+zNHfecUCXGONnRIQXwgxE1S7pZoKYSijfEkA ZyRg== 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=sN44X9WN09LZQNq8Yg3XRYRaWw1riUHmEayF7f44ixo=; b=GcFRBhddd070UjoscOJMWN4bgUZ50CnJ5cjwY73cOxIfZUstKiMoNTyAjkMU6n0er6 V8pvX+40sc97UBnZ33trtEHX5ca1lOzpxu1gnzFFBvwG1KFF2mRdExKktI3HctYv7t/Q B/g9CkScbhuW/0TkboGvxeIFOxak+4+Zz8AVJRY2uhE+wR57HbcBagDua4SQRLT5dIxW nq6/VGyBoe0HlwrvGseUYkG+O2vVJ29GPvcZdt4g4z6VxB25XLgWgrprTPn7EFD6Q9SL KK+mD1fWj1DzFrEt+OdLF/nWB1PGwhjsPGDOhmVvcHJyRL/T3VSK2rgRXSXwU/6FXxII 9aSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f13Z3OjH; 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 a6si6856582ejs.736.2021.04.02.10.32.33; Fri, 02 Apr 2021 10:32: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=f13Z3OjH; 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 S236242AbhDBRbU (ORCPT + 99 others); Fri, 2 Apr 2021 13:31:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235341AbhDBRat (ORCPT ); Fri, 2 Apr 2021 13:30:49 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B592BC06178A for ; Fri, 2 Apr 2021 10:30:47 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id d191so2804238wmd.2 for ; Fri, 02 Apr 2021 10:30:47 -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=sN44X9WN09LZQNq8Yg3XRYRaWw1riUHmEayF7f44ixo=; b=f13Z3OjHYKa6hSiSsbUvv78uxCUTl3zx9HZ3SzFinHxwFALMtlmDgTxiyg9eoduomD 3c+W6mcOPOdOXWVE8WhhKrIg0DhlV62YuJAMZnzdZqLfPhY35OT48bWLUH+7azOVV65d JWNdPVkC9i306MoWlcwivjvI7D8mMSZQMK8TYbOPqyq4QZGBhmnvkEQcjXkWWu9Ug05S 06gih4x/hUInH+WGd3NAFIY3wS/bGNJbjcAWlry/MOn2Snc9Z9yE2Wq7/mfy5zbfDDT5 /RGOccAL1kugca2lfDnzHkZKo7pu02+ouYWwb9++uPpVKRnaOj2tAhze9iRERSO5lPHG +83w== 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=sN44X9WN09LZQNq8Yg3XRYRaWw1riUHmEayF7f44ixo=; b=CopEwcSqs+ixnRaD0VjFzuJWjgR5g1MwMMUJ6TJRBR9wpubvqVcRn9gC3Gdewxz9hO veRubMrVJgYKHEmEPfG+YmdfwW9KRHLQ6pq/wGK63Z5Ti5BctKZhq2LsALgYIVp16dWD dZ1egLjVr+hRuCKz5wrMPXrWzBcDi+F6YxRDhPyNUJENEMFQTTZ/Tn7AQWJiSfT/9EQQ C1noYHVexoElKChr6FGMT9WFuF762T4+bVqVV822Qlc+Nw+rkJ32TvsJDG7pQgoZQQ4I /8VuHzczadg4DtJa24lbai8iDToEa5TcQd711JW9LSZsI/wvJMP/IhfqReGchD383NI5 k8mA== X-Gm-Message-State: AOAM531QzXVFXwJezCkXPIRdhWfbX8KBw4roVFeoZMsL3FbtEAfB/HnN 3cL+Lv67VoxHUV156CFew4pIWTdq83okMw== X-Received: by 2002:a1c:4e0e:: with SMTP id g14mr13290493wmh.160.1617384646434; Fri, 02 Apr 2021 10:30:46 -0700 (PDT) Received: from agape ([5.171.81.4]) by smtp.gmail.com with ESMTPSA id b15sm15515825wmd.41.2021.04.02.10.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Apr 2021 10:30:46 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH v2 18/30] staging: rtl8723bs: remove commented RT_TRACE calls in core/rtw_recv.c Date: Fri, 2 Apr 2021 19:30:00 +0200 Message-Id: <385fc6672aed4341a3b5edabe89196a8c2302ece.1617384172.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 commented RT_TRACE calls in core/rtw_recv.c Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_recv.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c index 608a59286505..189f686a1f29 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -588,13 +588,11 @@ static union recv_frame *portctrl(struct adapter *adapter, union recv_frame *pre prtnframe = precv_frame; /* check is the EAPOL frame or not (Rekey) */ /* if (ether_type == eapol_type) { */ - /* RT_TRACE(_module_rtl871x_recv_c_, _drv_notice_, ("########portctrl:ether_type == 0x888e\n")); */ /* check Rekey */ /* prtnframe =precv_frame; */ /* */ /* else { */ - /* RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("########portctrl:ether_type = 0x%04x\n", ether_type)); */ /* */ } } else @@ -1693,7 +1691,6 @@ static signed int validate_recv_frame(struct adapter *adapter, union recv_frame retval = validate_recv_data_frame(adapter, precv_frame); if (retval == _FAIL) { struct recv_priv *precvpriv = &adapter->recvpriv; - /* RT_TRACE(_module_rtl871x_recv_c_, _drv_err_, ("validate_recv_data_frame fail\n")); */ precvpriv->rx_drop++; } else if (retval == _SUCCESS) { #ifdef DBG_RX_DUMP_EAP @@ -1889,7 +1886,6 @@ static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_n /* Drop out the packet which SeqNum is smaller than WinStart */ if (SN_LESS(seq_num, preorder_ctrl->indicate_seq)) { - /* RT_TRACE(COMP_RX_REORDER, DBG_LOUD, ("CheckRxTsIndicateSeq(): Packet Drop! IndicateSeq: %d, NewSeq: %d\n", pTS->RxIndicateSeq, NewSeqNum)); */ /* DbgPrint("CheckRxTsIndicateSeq(): Packet Drop! IndicateSeq: %d, NewSeq: %d\n", precvpriv->indicate_seq, seq_num); */ #ifdef DBG_RX_DROP_FRAME @@ -1914,7 +1910,6 @@ static int check_indicate_seq(struct recv_reorder_ctrl *preorder_ctrl, u16 seq_n preorder_ctrl->indicate_seq, seq_num); #endif } else if (SN_LESS(wend, seq_num)) { - /* RT_TRACE(COMP_RX_REORDER, DBG_LOUD, ("CheckRxTsIndicateSeq(): Window Shift! IndicateSeq: %d, NewSeq: %d\n", pTS->RxIndicateSeq, NewSeqNum)); */ /* DbgPrint("CheckRxTsIndicateSeq(): Window Shift! IndicateSeq: %d, NewSeq: %d\n", precvpriv->indicate_seq, seq_num); */ /* boundary situation, when seq_num cross 0xFFF */ @@ -1959,7 +1954,6 @@ static int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, un plist = get_next(plist); else if (SN_EQUAL(pnextattrib->seq_num, pattrib->seq_num)) /* Duplicate entry is found!! Do not insert current entry. */ - /* RT_TRACE(COMP_RX_REORDER, DBG_TRACE, ("InsertRxReorderList(): Duplicate packet is dropped!! IndicateSeq: %d, NewSeq: %d\n", pTS->RxIndicateSeq, SeqNum)); */ /* spin_unlock_irqrestore(&ppending_recvframe_queue->lock, irql); */ return false; else @@ -1980,8 +1974,6 @@ static int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, un /* spin_unlock(&ppending_recvframe_queue->lock); */ /* spin_unlock_irqrestore(&ppending_recvframe_queue->lock, irql); */ - - /* RT_TRACE(COMP_RX_REORDER, DBG_TRACE, ("InsertRxReorderList(): Pkt insert into buffer!! IndicateSeq: %d, NewSeq: %d\n", pTS->RxIndicateSeq, SeqNum)); */ return true; } @@ -2437,8 +2429,6 @@ s32 rtw_recv_entry(union recv_frame *precvframe) struct recv_priv *precvpriv; s32 ret = _SUCCESS; - /* RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("+rtw_recv_entry\n")); */ - padapter = precvframe->u.hdr.adapter; precvpriv = &padapter->recvpriv; @@ -2456,8 +2446,6 @@ s32 rtw_recv_entry(union recv_frame *precvframe) _recv_entry_drop: - /* RT_TRACE(_module_rtl871x_recv_c_, _drv_err_, ("_recv_entry_drop\n")); */ - return ret; } -- 2.20.1