Re: [PATCH] powerpc: Remove the static variable initialisations to 0

2022-07-25 Thread Segher Boessenkool
On Mon, Jul 25, 2022 at 01:27:52PM +1000, Michael Ellerman wrote: > Segher Boessenkool writes: > > On Sat, Jul 23, 2022 at 03:34:05PM +0200, Michal Suchánek wrote: > >> Hello, > >> > >> On Sat, Jul 23, 2022 at 05:24:36PM +0800, Jason Wang wrote: > >> > Initialise global and static variable to 0

Re: [PATCH] powerpc: Remove the static variable initialisations to 0

2022-07-24 Thread Michael Ellerman
Segher Boessenkool writes: > On Sat, Jul 23, 2022 at 03:34:05PM +0200, Michal Suchánek wrote: >> Hello, >> >> On Sat, Jul 23, 2022 at 05:24:36PM +0800, Jason Wang wrote: >> > Initialise global and static variable to 0 is always unnecessary. >> > Remove the unnecessary initialisations. >> >>

Re: [PATCH] powerpc: Remove the static variable initialisations to 0

2022-07-23 Thread Segher Boessenkool
On Sat, Jul 23, 2022 at 03:34:05PM +0200, Michal Suchánek wrote: > Hello, > > On Sat, Jul 23, 2022 at 05:24:36PM +0800, Jason Wang wrote: > > Initialise global and static variable to 0 is always unnecessary. > > Remove the unnecessary initialisations. > > Isn't this change also unnecessary? > >

Re: [PATCH] powerpc: Remove the static variable initialisations to 0

2022-07-23 Thread Michal Suchánek
Hello, On Sat, Jul 23, 2022 at 05:24:36PM +0800, Jason Wang wrote: > Initialise global and static variable to 0 is always unnecessary. > Remove the unnecessary initialisations. Isn't this change also unnecessary? Initializing to 0 does not affect correctness, or even any kind of semantics in