summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dc395x.c
diff options
context:
space:
mode:
authorXiaomeng Tong <xiam0nd.tong@gmail.com>2022-04-05 08:40:55 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-04-26 08:37:35 -0400
commit505420bd5543e806288a47ae3d2abeec8fc9642a (patch)
treec6fc07910265a82313adac7d304061e125a4dd43 /drivers/scsi/dc395x.c
parent8ad8edd2fbaedbd4761c14319df26db2b556376e (diff)
downloadlinux-505420bd5543e806288a47ae3d2abeec8fc9642a.tar.gz
linux-505420bd5543e806288a47ae3d2abeec8fc9642a.tar.bz2
linux-505420bd5543e806288a47ae3d2abeec8fc9642a.zip
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