Re: [PATCH 07/11] mfd: Drop unnecessary static

Pavel Machek
2017-07-24T19:20:46Z

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

Hi!

> > > Drop static on a local variable, when the variable is initialized before
> > > any possible use. Thus, the static has no benefit.

Actually... it has possible other benefit -- saving stack space. I've
used static for that purpose before. So ... careful with the
automation.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]