From: Mohammed Shafi Shajakhan Date: Fri, 16 Nov 2012 12:52:03 +0000 (+0530) Subject: ath6kl: Use standard way to assign the boolean variable X-Git-Tag: upstream/snapshot3+hdmi~5708^2~31^2^2^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=895dc3867705f7622977c8870771e15881b3e421;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ath6kl: Use standard way to assign the boolean variable Assign 'true' to the bool variable instead of needless typecasting. Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/htc_pipe.c b/drivers/net/wireless/ath/ath6kl/htc_pipe.c index ba6bd49..575e7d7 100644 --- a/drivers/net/wireless/ath/ath6kl/htc_pipe.c +++ b/drivers/net/wireless/ath/ath6kl/htc_pipe.c @@ -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->rx_bufq); ep->target = target; - ep->pipe.tx_credit_flow_enabled = (bool) 1; /* FIXME */ + ep->pipe.tx_credit_flow_enabled = true; } }