lkml.org 
[lkml]   [2017]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2017-08-16 22:30    [W:0.065 / U:1.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site