summaryrefslogtreecommitdiffstats
path: root/init/do_mounts_initrd.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-01-21 07:08:41 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2021-01-23 04:04:16 +0100
commitc750a9c9c59a85843d447910a27da21c5bcf600a (patch)
treea2be804a3d8ca46a5a89ab025dd92022ae09e783 /init/do_mounts_initrd.c
parentscsi: qla2xxx: Assign boolean values to a bool variable (diff)
downloadlinux-c750a9c9c59a85843d447910a27da21c5bcf600a.tar.xz
linux-c750a9c9c59a85843d447910a27da21c5bcf600a.zip
scsi: qla2xxx: Remove unnecessary NULL check
The list iterator can't be NULL so this check is not required. Removing the check silences a Smatch warning about inconsistent NULL checking. drivers/scsi/qla2xxx/qla_dfs.c:371 qla_dfs_tgt_counters_show() error: we previously assumed 'fcport' could be null (see line 372) Link: https://lore.kernel.org/r/YAkaaSrhn1mFqyHy@mwanda Acked-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions