OSDN Git Service

scsi: lpfc: Remove redundant assignment to pointer temp_hdr
authorColin Ian King <colin.king@canonical.com>
Tue, 20 Apr 2021 10:41:23 +0000 (11:41 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 10 May 2021 17:24:06 +0000 (13:24 -0400)
commit52b2599081144d903e8992063985a607c647258e
tree28e72fe0e824d2c38d49669cbd645ea2da1446b2
parent1b3babe200498bfd4426057f07a935b5347077ab
scsi: lpfc: Remove redundant assignment to pointer temp_hdr

The pointer tmp_hdr is being assigned a value that is never read, the
assignment is redundant and can be removed.

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