Skip to content

Commit

Permalink
ath6kl: don't dump full htc packets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kalle Valo committed Nov 11, 2011
1 parent 471e92f commit b1e03f8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/net/wireless/ath/ath6kl/htc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1516,13 +1512,6 @@ static int ath6kl_htc_rx_process_hdr(struct htc_target *target,
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;
}
Expand Down

0 comments on commit b1e03f8

Please sign in to comment.