[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMo8BfK9HcYWYFmvxLASO_4CTjY+fT0+LiPi6EZX+zz0-e3HnA@mail.gmail.com>
Date: Wed, 11 May 2022 02:09:31 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: Jason Wang <wangborong@...rlc.com>
Cc: Chris Zankel <chris@...kel.net>,
"open list:TENSILICA XTENSA PORT (xtensa)"
<linux-xtensa@...ux-xtensa.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] xtensa: no need to initialise statics to 0
On Sat, May 7, 2022 at 7:30 PM Jason Wang <wangborong@...rlc.com> 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@...rlc.com>
> ---
> arch/xtensa/platforms/xt2000/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my xtensa tree.
-- Max
Powered by blists - more mailing lists