Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [RESEND][PATCH] qedf: remove an unneeded NULL check on list iterator | Date | Mon, 2 May 2022 20:51:44 -0400 |
| |
On Tue, 5 Apr 2022 08:40:55 +0800, Xiaomeng Tong wrote:
> The list iterator 'fcport' is always non-NULL so it doesn't need to be > checked. Thus just remove the unnecessary NULL check. Also remove the > unnecessary initializer because the list iterator is always initialized. > And adjust the position of blank lines. > >
Applied to 5.19/scsi-queue, thanks!
[1/1] qedf: remove an unneeded NULL check on list iterator https://git.kernel.org/mkp/scsi/c/505420bd5543
-- Martin K. Petersen Oracle Linux Engineering
| |