提交 5ba3ee48 编写于 作者: R Raja Mani 提交者: Kalle Valo

ath6kl: Rearrange the variable and the value position in IF condition

Signed-off-by: NRaja Mani <rmani@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 2588f554
...@@ -1229,7 +1229,7 @@ static void htc_proc_cred_rpt(struct htc_target *target, ...@@ -1229,7 +1229,7 @@ static void htc_proc_cred_rpt(struct htc_target *target,
endpoint->ep_st.cred_rpt_from_other += 1; endpoint->ep_st.cred_rpt_from_other += 1;
} }
if (ENDPOINT_0 == rpt->eid) if (rpt->eid == ENDPOINT_0)
/* always give endpoint 0 credits back */ /* always give endpoint 0 credits back */
endpoint->cred_dist.credits += rpt->credits; endpoint->cred_dist.credits += rpt->credits;
else { else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册