aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/debug.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-10-24 05:17:04 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 05:58:54 -0500
commite8c39790d00c0f9498da84f0efb61efa5664068c (patch)
tree66ae619155b3fcb70ec9dfc5cf2ec3240a24df2a /drivers/net/wireless/ath/ath6kl/debug.c
parentfa99e963b1976374db1d89aea854e8740b92796d (diff)
ath6kl: rename struct htc_endpoint_credit_dist.htc_rsvd to htc_ep
No need to use void pointer here. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/debug.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c
index 725d598ed299..a560ed32fba7 100644
--- a/drivers/net/wireless/ath/ath6kl/debug.c
+++ b/drivers/net/wireless/ath/ath6kl/debug.c
@@ -164,8 +164,7 @@ static void dump_cred_dist(struct htc_endpoint_credit_dist *ep_dist)
164 ath6kl_dbg(ATH6KL_DBG_ANY, " cred_to_dist : %d\n", 164 ath6kl_dbg(ATH6KL_DBG_ANY, " cred_to_dist : %d\n",
165 ep_dist->cred_to_dist); 165 ep_dist->cred_to_dist);
166 ath6kl_dbg(ATH6KL_DBG_ANY, " txq_depth : %d\n", 166 ath6kl_dbg(ATH6KL_DBG_ANY, " txq_depth : %d\n",
167 get_queue_depth(&((struct htc_endpoint *) 167 get_queue_depth(&ep_dist->htc_ep->txq));
168 ep_dist->htc_rsvd)->txq));
169 ath6kl_dbg(ATH6KL_DBG_ANY, 168 ath6kl_dbg(ATH6KL_DBG_ANY,
170 "----------------------------------\n"); 169 "----------------------------------\n");
171} 170}
@@ -584,8 +583,7 @@ static ssize_t read_file_credit_dist_stats(struct file *file,
584 print_credit_info("%9d", cred_per_msg); 583 print_credit_info("%9d", cred_per_msg);
585 print_credit_info("%14d", cred_to_dist); 584 print_credit_info("%14d", cred_to_dist);
586 len += scnprintf(buf + len, buf_len - len, "%12d\n", 585 len += scnprintf(buf + len, buf_len - len, "%12d\n",
587 get_queue_depth(&((struct htc_endpoint *) 586 get_queue_depth(&ep_list->htc_ep->txq));
588 ep_list->htc_rsvd)->txq));
589 } 587 }
590 588
591 if (len > buf_len) 589 if (len > buf_len)