Re: [PATCH] sctp: sm_statefuns: Remove unnecessary ‘NULL’ values from Pointer

From: Paolo Abeni
Date: Thu Nov 17 2022 - 07:14:09 EST


Hi,

On Tue, 2022-11-15 at 09:55 +0800, Li zeming wrote:
> The packet pointer is assigned first. It does not need to initialize the
> assignment.
>
> Signed-off-by: Li zeming <zeming@xxxxxxxxxxxx>

I'm sorry, but IMHO the commit message is quite unclear, I suggest to
re-phrase to something alike:

"""
The 'packet' pointer is always set in the later code, no need to
initialize it at definition time.
"""

Thanks,

Paolo