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

2017-08-16 Thread Arnd Bergmann
On Wed, Aug 2, 2017 at 1:59 PM, Linus Walleij wrote: > On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva > wrote: > >> Remove unnecessary static on local variables syscon_regmap. >> Such variables are initialized before being used, on every

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

2017-08-16 Thread Arnd Bergmann
On Wed, Aug 2, 2017 at 1:59 PM, Linus Walleij wrote: > On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva > wrote: > >> Remove unnecessary static on local variables syscon_regmap. >> Such variables are initialized before being used, on every >> execution path throughout the functions. The

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

2017-08-03 Thread Gustavo A. R. Silva
On 08/02/2017 06:59 AM, Linus Walleij wrote: On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva wrote: Remove unnecessary static on local variables syscon_regmap. Such variables are initialized before being used, on every execution path throughout the functions.

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

2017-08-03 Thread Gustavo A. R. Silva
On 08/02/2017 06:59 AM, Linus Walleij wrote: On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva 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

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

2017-08-02 Thread Linus Walleij
On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva 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

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

2017-08-02 Thread Linus Walleij
On Thu, Jul 20, 2017 at 12:40 AM, Gustavo A. R. Silva 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

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

2017-07-19 Thread Gustavo A. R. Silva
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. This issue was detected using Coccinelle and the following

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

2017-07-19 Thread Gustavo A. R. Silva
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. This issue was detected using Coccinelle and the following

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

2017-07-04 Thread Gustavo A. R. Silva
Remove unnecessary static on local variable syscon_regmap. Such variable is initialized before being used, on every execution path throughout the function. The static has no benefit and, removing it reduces the code size. This issue was detected using Coccinelle and the following semantic patch:

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

2017-07-04 Thread Gustavo A. R. Silva
Remove unnecessary static on local variable syscon_regmap. Such variable is initialized before being used, on every execution path throughout the function. The static has no benefit and, removing it reduces the code size. This issue was detected using Coccinelle and the following semantic patch: