From: SF Markus Elfring Date: Wed, 19 Oct 2016 13:53:39 +0000 Subject: Re: [media] winbond-cir: Move a variable assignment in two functions Message-Id: <75f2acf2-bc93-04be-1331-242c5a85beaf@users.sourceforge.net> List-Id: References: <0b6de919-35a0-8ee3-9ea7-907c9b9a36f2@users.sourceforge.net> <566ABCD9.1060404@users.sourceforge.net> <1d7d6a2c-0f1e-3434-9023-9eab25bb913f@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: =?UTF-8?Q?David_H=c3=a4rdeman?= , linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , Sean Young , LKML , kernel-janitors@vger.kernel.org, Julia Lawall >> Move the assignment for the local variable "data" behind the source code >> for condition checks by these functions. > > Why? * Would you like to set these variables only after the initial check succeeded? * Do you care for data access locality also in these cases? Regards, Markus