From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Mon, 24 Jul 2017 19:20:26 +0000 Subject: Re: [PATCH 07/11] mfd: Drop unnecessary static Message-Id: <20170724192026.GF32425@amd> MIME-Version: 1 Content-Type: multipart/mixed; boundary="ExXT7PjY8AI4Hyfa" List-Id: References: <1500149266-32357-1-git-send-email-Julia.Lawall@lip6.fr> <1500149266-32357-8-git-send-email-Julia.Lawall@lip6.fr> In-Reply-To: To: Julia Lawall Cc: Mark D Rustad , Tony Lindgren , keescook@chromium.org, kernel-janitors@vger.kernel.org, Lee Jones , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org --ExXT7PjY8AI4Hyfa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > Drop static on a local variable, when the variable is initialized bef= ore > > > 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. --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --ExXT7PjY8AI4Hyfa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAll2SHoACgkQMOfwapXb+vJ/BgCeJV9jNXiD3P7c9ZgXkWNaMmdy Wu0An0OKd8tWIa0ig042NowwGtXv727U =OuPP -----END PGP SIGNATURE----- --ExXT7PjY8AI4Hyfa--