Messages in this thread | | | Subject | Re: [PATCH] sctp: sm_statefuns: Remove unnecessary ‘NULL’ values from Pointer | From | Paolo Abeni <> | Date | Thu, 17 Nov 2022 13:13:01 +0100 |
| |
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@nfschina.com>
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
| |