lkml.org 
[lkml]   [2022]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RESEND][PATCH] qedf: remove an unneeded NULL check on list iterator
Date
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

\
 
 \ /
  Last update: 2022-05-06 07:46    [W:0.053 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site