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

scsi: NCR5380: Remove set but unused variable

Cc: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Finn Thain and committed by
Martin K. Petersen
8cee3e16 df135e32

+1 -2
+1 -2
drivers/scsi/NCR5380.c
··· 272 272 static void NCR5380_print(struct Scsi_Host *instance) 273 273 { 274 274 struct NCR5380_hostdata *hostdata = shost_priv(instance); 275 - unsigned char status, data, basr, mr, icr, i; 275 + unsigned char status, basr, mr, icr, i; 276 276 277 - data = NCR5380_read(CURRENT_SCSI_DATA_REG); 278 277 status = NCR5380_read(STATUS_REG); 279 278 mr = NCR5380_read(MODE_REG); 280 279 icr = NCR5380_read(INITIATOR_COMMAND_REG);