Re: [RESEND][PATCH] qedf: remove an unneeded NULL check on list iterator

From: Martin K. Petersen
Date: Fri May 06 2022 - 01:44:45 EST


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