staging:r8188eu: remove unnecessary trace output in rtw_recv_indicatepkt()
authorIvan Safonov <insafonov@gmail.com>
Thu, 12 Jan 2017 09:16:56 +0000 (12:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jan 2017 17:11:11 +0000 (18:11 +0100)
Trace output for each received packet in rtw_recv_indicatepkt() is redudant.
Remove it.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/recv_linux.c

index b85824ec5354c62a6985d92100aa99512377fb17..df4bcef95d0529a3bcd40f3b31bd586b944f1ce8 100644 (file)
@@ -88,27 +88,12 @@ int rtw_recv_indicatepkt(struct adapter *padapter,
                goto _recv_indicatepkt_drop;
        }
 
-       RT_TRACE(_module_recv_osdep_c_, _drv_info_,
-                ("rtw_recv_indicatepkt():skb != NULL !!!\n"));
-       RT_TRACE(_module_recv_osdep_c_, _drv_info_,
-                ("rtw_recv_indicatepkt():precv_frame->rx_head =%p  precv_frame->hdr.rx_data =%p\n",
-                precv_frame->rx_head, precv_frame->rx_data));
-       RT_TRACE(_module_recv_osdep_c_, _drv_info_,
-                ("precv_frame->hdr.rx_tail =%p precv_frame->rx_end =%p precv_frame->hdr.len =%d\n",
-                precv_frame->rx_tail, precv_frame->rx_end,
-                precv_frame->len));
-
        skb->data = precv_frame->rx_data;
 
        skb_set_tail_pointer(skb, precv_frame->len);
 
        skb->len = precv_frame->len;
 
-       RT_TRACE(_module_recv_osdep_c_, _drv_info_,
-                ("skb->head =%p skb->data =%p skb->tail =%p skb->end =%p skb->len =%d\n",
-                skb->head, skb->data, skb_tail_pointer(skb),
-                skb_end_pointer(skb), skb->len));
-
        if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
                struct sk_buff *pskb2 = NULL;
                struct sta_info *psta = NULL;