lkml.org 
[lkml]   [2016]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [media] winbond-cir: Move a variable assignment in wbcir_tx()
From
Date
>> 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

\
 
 \ /
  Last update: 2016-10-19 18:27    [W:1.356 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site