[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56895EE1.7080808@users.sourceforge.net>
Date: Sun, 3 Jan 2016 18:48:17 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Julia Lawall <julia.lawall@...6.fr>
Cc: devel@...verdev.osuosl.org,
Christopher Harrer <charrer@...critech.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lior Dotan <liodot@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] staging-slicoss: Replace variable initialisations by
assignments in slic_if_init()
>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists