aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/core/rtw_xmit.c
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2022-02-16 01:07:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-17 16:00:36 +0100
commitef04359725728585bc54033ed3c8a21e08ce11d5 (patch)
tree2389b51c1cf39fd561e343b0e6d22114b6c82a8e /drivers/staging/r8188eu/core/rtw_xmit.c
parentstaging: r8188eu: remove remaining DBG_88E call from include/usb_ops.h (diff)
downloadlinux-dev-ef04359725728585bc54033ed3c8a21e08ce11d5.tar.xz
linux-dev-ef04359725728585bc54033ed3c8a21e08ce11d5.zip
staging: r8188eu: remove all aliased DBG_88E calls
Remove all remaining calls to preprocessor aliases of DBG_88E, as well as these definitions themselves. This is a prerequisite for removing the DBG_88E macro itself. Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20220216010709.791-10-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/core/rtw_xmit.c')
-rw-r--r--drivers/staging/r8188eu/core/rtw_xmit.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_xmit.c b/drivers/staging/r8188eu/core/rtw_xmit.c
index 7d616a409c0c..3ad124f6f3c7 100644
--- a/drivers/staging/r8188eu/core/rtw_xmit.c
+++ b/drivers/staging/r8188eu/core/rtw_xmit.c
@@ -1589,7 +1589,6 @@ static int rtw_br_client_tx(struct adapter *padapter, struct sk_buff **pskb)
newskb = skb_copy(skb, GFP_ATOMIC);
if (!newskb) {
- DEBUG_ERR("TX DROP: skb_copy fail!\n");
return -1;
}
dev_kfree_skb_any(skb);
@@ -1604,18 +1603,16 @@ static int rtw_br_client_tx(struct adapter *padapter, struct sk_buff **pskb)
}
if (skb_is_nonlinear(skb))
- DEBUG_ERR("%s(): skb_is_nonlinear!!\n", __func__);
+ ;
res = skb_linearize(skb);
if (res < 0) {
- DEBUG_ERR("TX DROP: skb_linearize fail!\n");
return -1;
}
res = nat25_db_handle(padapter, skb, NAT25_INSERT);
if (res < 0) {
if (res == -2) {
- DEBUG_ERR("TX DROP: nat25_db_handle fail!\n");
return -1;
}
return 0;
@@ -1637,8 +1634,6 @@ static int rtw_br_client_tx(struct adapter *padapter, struct sk_buff **pskb)
/* check if SA is equal to our MAC */
if (memcmp(skb->data + ETH_ALEN, GET_MY_HWADDR(padapter), ETH_ALEN)) {
- DEBUG_ERR("TX DROP: untransformed frame SA:%02X%02X%02X%02X%02X%02X!\n",
- skb->data[6], skb->data[7], skb->data[8], skb->data[9], skb->data[10], skb->data[11]);
return -1;
}
return 0;