Re: [PATCH] soc: versatile: remove unnecessary static in realview_soc_probe()

From: Arnd Bergmann
Date: Wed Aug 16 2017 - 16:30:04 EST


On Wed, Aug 2, 2017 at 1:59 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva
> <gustavo@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>

Good catch!

> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Applied to next/cleanup with your Ack, thanks!

Arnd