]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Remove redundant assignment to pointer pcmd
authorColin Ian King <colin.king@canonical.com>
Wed, 21 Jul 2021 09:53:50 +0000 (10:53 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 27 Jul 2021 04:06:41 +0000 (00:06 -0400)
commitb2ac4a5e8e505685760c1464ebe4255266d78adc
tree3412fc6d49b2d15aee9021e574c51e1c25e8463c
parentcbf6aae02c9c50f323111d838d4b114809733eab
scsi: lpfc: Remove redundant assignment to pointer pcmd

The pointer pcmd is being initialized with a value that is never read, the
assignment is redundant and can be removed.

Link: https://lore.kernel.org/r/20210721095350.41564-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Addresses-Coverity: ("Unused value")
drivers/scsi/lpfc/lpfc_sli.c