diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 11:51:18 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:49:52 -0700 |
commit | f455eb1a4ba2bf0ff1bde7844bf3a811269d2d79 (patch) | |
tree | 74086ac6a4372ab3493c466f953fea11b78c0b59 /drivers/net/wireless/libertas/tx.c | |
parent | 0a6d0555e90850b7ce90e8937858f11b6b98b6d4 (diff) | |
download | kernel_samsung_smdk4412-f455eb1a4ba2bf0ff1bde7844bf3a811269d2d79.zip kernel_samsung_smdk4412-f455eb1a4ba2bf0ff1bde7844bf3a811269d2d79.tar.gz kernel_samsung_smdk4412-f455eb1a4ba2bf0ff1bde7844bf3a811269d2d79.tar.bz2 |
[PATCH] libertas: remove debugmode
There is nowhere any place that set's this variable.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/tx.c')
-rw-r--r-- | drivers/net/wireless/libertas/tx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/tx.c b/drivers/net/wireless/libertas/tx.c index 7c38301..7743d3f 100644 --- a/drivers/net/wireless/libertas/tx.c +++ b/drivers/net/wireless/libertas/tx.c @@ -72,10 +72,6 @@ static int SendSinglePacket(wlan_private * priv, struct sk_buff *skb) if (priv->adapter->surpriseremoved) return -1; - if ((priv->adapter->debugmode & MRVDRV_DEBUG_TX_PATH) != 0) - lbs_dbg_hex("TX packet: ", skb->data, - min_t(unsigned int, skb->len, 100)); - if (!skb->len || (skb->len > MRVDRV_ETH_TX_PACKET_BUFFER_SIZE)) { lbs_deb_tx("tx err: skb length %d 0 or > %zd\n", skb->len, MRVDRV_ETH_TX_PACKET_BUFFER_SIZE); @@ -267,10 +263,6 @@ void libertas_send_tx_feedback(wlan_private * priv) radiotap_hdr = (struct tx_radiotap_hdr *)adapter->currenttxskb->data; - if ((adapter->debugmode & MRVDRV_DEBUG_TX_PATH) != 0) - lbs_dbg_hex("TX feedback: ", (u8 *) radiotap_hdr, - min_t(unsigned int, adapter->currenttxskb->len, 100)); - txfail = (status >> 24); #if 0 |