ath6kl: Use standard way to assign the boolean variable
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 16 Nov 2012 12:52:03 +0000 (18:22 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Nov 2012 19:44:27 +0000 (21:44 +0200)
Assign 'true' to the bool variable instead of needless typecasting.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc_pipe.c

index ba6bd49..575e7d7 100644 (file)
@@ -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;
        }
 }