diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-02-06 15:03:16 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-02-14 03:37:00 +0100 |
commit | 8d6febb0ccac88261fd50d425fceeca215551f11 (patch) | |
tree | c1f14713934aa68985f0d7efdb8fa1715c232bab /drivers/scsi/libfc | |
parent | scsi: qedi: fix building with LTO (diff) | |
download | linux-8d6febb0ccac88261fd50d425fceeca215551f11.tar.xz linux-8d6febb0ccac88261fd50d425fceeca215551f11.zip |
scsi: qedf: remove redundant initialization of 'fcport'
Pointer fcport is initialized with a value that is never read, it is
re-assigned a new value later on, hence the initialization is redundant
and can be removed.
Cleans up clang warning:
drivers/scsi/qedf/qedf_io.c:920:21: warning: Value stored to 'fcport'
during its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libfc')
0 files changed, 0 insertions, 0 deletions