Re: [media] winbond-cir: Move a variable assignment in wbcir_tx()

From: SF Markus Elfring
Date: Wed Oct 19 2016 - 12:26:10 EST


>> Move the assignment for the local variable "data" behind the source code
>> for a memory allocation by this function.
>
> Sorry, I can't see what the point is?

* How do you think about to avoid a variable assignment in case
that this memory allocation failed anyhow?

* Do you care for data access locality?

Regards,
Markus