Re: [PATCH] time: clocksource-wdtest: Remove unnecessary initialization of variable 'ret'

From: Thomas Gleixner
Date: Mon Jun 12 2023 - 03:42:37 EST


Li!

On Wed, Jun 14 2023 at 03:35, Li zeming wrote:

Can you please pick the proper prefixes and not create random ones.

https://www.kernel.org/doc/html/latest/process/maintainer-tip.html#patch-subject

> ret is assigned first, so it does not need to initialize the
> assignment.

This sentence does not make sense. You cannot initialize an
assignment. What you want to say is something like this.

'ret' is always assigned before being checked, so initializing the
variable is not required.

No?

Thanks,

tglx