Messages in this thread |  | | From | Arnd Bergmann <> | Date | Wed, 16 Aug 2017 22:29:59 +0200 | Subject | Re: [PATCH] soc: versatile: remove unnecessary static in realview_soc_probe() |
| |
On Wed, Aug 2, 2017 at 1:59 PM, Linus Walleij <linus.walleij@linaro.org> wrote: > On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva > <gustavo@embeddedor.com> wrote: > >> Remove unnecessary static on local variables syscon_regmap. >> Such variables are initialized before being used, on every >> execution path throughout the functions. The static has no >> benefit and, removing it reduces the object file size. >> >> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Good catch!
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Applied to next/cleanup with your Ack, thanks!
Arnd
|  |