diff options
author | Xiaomeng Tong <xiam0nd.tong@gmail.com> | 2022-04-05 08:40:55 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-04-26 08:37:35 -0400 |
commit | 505420bd5543e806288a47ae3d2abeec8fc9642a (patch) | |
tree | c6fc07910265a82313adac7d304061e125a4dd43 /drivers/scsi/dc395x.c | |
parent | 8ad8edd2fbaedbd4761c14319df26db2b556376e (diff) |
scsi: qedf: Remove an unneeded NULL check on list iterator
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.
Link: https://lore.kernel.org/r/20220405004055.24312-1-xiam0nd.tong@gmail.com
Signed-off-by: Xiaomeng Tong <xiam0nd.tong@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dc395x.c')
0 files changed, 0 insertions, 0 deletions