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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     SCTP

  Powered by Linux