OSDN Git Service

scsi: sym53c8xx_2: remove redundant assignment to retv
authorColin Ian King <colin.king@canonical.com>
Fri, 9 Aug 2019 17:59:32 +0000 (18:59 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:58:07 +0000 (21:58 -0400)
commit1d4f4a5e507f5879af56370380df600dd9119030
tree3f56e730acfa69bee871cc458f9e97ef020036c3
parent18daf910ed6ff408767b8d35aaa2f9f11119cd6d
scsi: sym53c8xx_2: remove redundant assignment to retv

Variable retv is initialized to a value that is never read and it is
re-assigned later. The initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sym53c8xx_2/sym_nvram.c