Re: [PATCH] sched: core: Remove unnecessary ‘NULL’ values from pending

From: Markus Elfring
Date: Tue May 28 2024 - 10:10:30 EST


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

Would a wording approach (like the following) be a bit nicer?

The variable “pending” will eventually be set to an appropriate pointer
a bit later. Thus omit the explicit initialisation at the beginning.


> Signed-off-by: kunyu <kunyu@xxxxxxxxxxxx>

Can the Developer's Certificate of Origin become clearer another bit?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.10-rc1#n438


How do you think about to use the summary phrase
“Delete an unnecessary initialisation in affine_move_task()”?

Regards,
Markus