[PATCH] staging-slicoss: Replace variable initialisations by assignments in slic_if_init()

SF Markus Elfring elfring at users.sourceforge.net
Sun Jan 3 17:48:17 UTC 2016


>> Replace explicit initialisation for two local variables at the beginning
>> by assignments.
> 
> Why?

I prefer that assignments for variables like "card" and "slic_regs"
will only be performed immediately before the corresponding content will be
read again (after a few condition checks were executed).

Another description could be this view:
I suggest to move the variable initialisation a bit.

Regards,
Markus


More information about the devel mailing list