Commit a8357683 authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: remove RT_TRACE prints from xmit_linux.c



We should use the standard mechanism for debug prints. Remove the prints
that use driver-specific macros.

Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210807153636.11712-10-martin@kaiser.cx


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8be55d7a
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -227,12 +227,8 @@ int rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev)
	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
	s32 res = 0;

	RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("+xmit_enry\n"));

	if (rtw_if_up(padapter) == false) {
		RT_TRACE(_module_xmit_osdep_c_, _drv_err_, ("rtw_xmit_entry: rtw_if_up fail\n"));
	if (rtw_if_up(padapter) == false)
		goto drop_packet;
	}

	rtw_check_xmit_resource(padapter, pkt);

@@ -251,13 +247,11 @@ int rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev)
		goto drop_packet;

	pxmitpriv->tx_pkts++;
	RT_TRACE(_module_xmit_osdep_c_, _drv_info_, ("rtw_xmit_entry: tx_pkts=%d\n", (u32)pxmitpriv->tx_pkts));
	goto exit;

drop_packet:
	pxmitpriv->tx_drop++;
	dev_kfree_skb_any(pkt);
	RT_TRACE(_module_xmit_osdep_c_, _drv_notice_, ("rtw_xmit_entry: drop, tx_drop=%d\n", (u32)pxmitpriv->tx_drop));

exit: