ath6kl: don't dump full htc packets
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Oct 2011 12:21:45 +0000 (15:21 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:50:57 +0000 (12:50 +0200)
It's currently possible to dump full sdio packets, so dumping htc packets
is not strictly needed. So remove it, we can always add it back if
there ever comes a need for that.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc.c

index 840f1b3e16b35f5c81ccb17074e7fa110b9423c4..3cd3ef5068091df1826370c8e47c3590bd6f351d 100644 (file)
@@ -1431,10 +1431,6 @@ static int ath6kl_htc_rx_process_hdr(struct htc_target *target,
        if (n_lkahds != NULL)
                *n_lkahds = 0;
 
-       /* FIXME: is this needed? */
-       ath6kl_dbg_dump(ATH6KL_DBG_HTC, "htc rx", "htc rx",
-                       packet->buf, packet->act_len);
-
        /*
         * NOTE: we cannot assume the alignment of buf, so we use the safe
         * macros to retrieve 16 bit fields.
@@ -1516,13 +1512,6 @@ fail_rx:
        if (status)
                ath6kl_dbg_dump(ATH6KL_DBG_HTC, "htc rx bad packet",
                                "", packet->buf, packet->act_len);
-       else {
-               /* FIXME: is this needed? */
-               if (packet->act_len > 0)
-                       ath6kl_dbg_dump(ATH6KL_DBG_HTC,
-                                       "htc rx application message", "",
-                                       packet->buf, packet->act_len);
-       }
 
        return status;
 }