Re: [PATCH] xtensa: no need to initialise statics to 0

From: Max Filippov
Date: Wed May 11 2022 - 05:09:52 EST


On Sat, May 7, 2022 at 7:30 PM Jason Wang <wangborong@xxxxxxxxxx> wrote:
>
> Static variables do not need to be initialised to 0, because compiler
> will initialise all uninitialised statics to 0. Thus, remove the
> unneeded initializations.
>
> Signed-off-by: Jason Wang <wangborong@xxxxxxxxxx>
> ---
> arch/xtensa/platforms/xt2000/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied to my xtensa tree.

-- Max