提交 895dc386 编写于 作者: M Mohammed Shafi Shajakhan 提交者: Kalle Valo

ath6kl: Use standard way to assign the boolean variable

Assign 'true' to the bool variable instead of needless typecasting.
Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 050757da
...@@ -1184,7 +1184,7 @@ static void reset_endpoint_states(struct htc_target *target) ...@@ -1184,7 +1184,7 @@ static void reset_endpoint_states(struct htc_target *target)
INIT_LIST_HEAD(&ep->pipe.tx_lookup_queue); INIT_LIST_HEAD(&ep->pipe.tx_lookup_queue);
INIT_LIST_HEAD(&ep->rx_bufq); INIT_LIST_HEAD(&ep->rx_bufq);
ep->target = target; ep->target = target;
ep->pipe.tx_credit_flow_enabled = (bool) 1; /* FIXME */ ep->pipe.tx_credit_flow_enabled = true;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册