scsi: elx: efct: Remove redundant initialization of variable lun
authorColin Ian King <colin.king@canonical.com>
Wed, 16 Jun 2021 17:16:21 +0000 (18:16 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 19 Jun 2021 03:01:03 +0000 (23:01 -0400)
commit61bf3fdb5dd0e6980a6b514a924ea1da75e2a946
tree8c0e68fd174014c5e45f6c412e0ed6120153bd7a
parent5911429343a87bdc8575915c9f6a9a2ddb6af7fe
scsi: elx: efct: Remove redundant initialization of variable lun

The variable "lun" is being initialized with a value that is never read, it
is being updated later on. The assignment is redundant and can be removed.

Link: https://lore.kernel.org/r/20210616171621.16176-1-colin.king@canonical.com
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>
Addresses-Coverity: ("Unused value")
drivers/scsi/elx/efct/efct_unsol.c