Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Colin Ian King and committed by
Martin K. Petersen
1d4f4a5e 18daf910

+1 -1
+1 -1
drivers/scsi/sym53c8xx_2/sym_nvram.c
··· 648 648 { 649 649 u_char gpcntl, gpreg; 650 650 u_char old_gpcntl, old_gpreg; 651 - int retv = 1; 651 + int retv; 652 652 653 653 /* save current state of GPCNTL and GPREG */ 654 654 old_gpreg = INB(np, nc_gpreg);