Skip to contentSkip to conversation

linux-2.5.46: Remove unused variable

PATCH New Thibaut VARENE 1 participant 1 message Nov 9, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-2.5.46: Remove unused variable

Hi,

While cleaning up some parisc files, I took a look at some arch-indep ones.

This fixes a compiler warning.

HTH,

Thibaut VARENE
The PA/Linux ESIEE Team
http://pateam.esiee.fr/

scsi/sd.c renamed from work/pa/CVS-mirror/linux-2.5/drivers/scsi/sd.c +0 -1
@@ -758,7 +758,6 @@
 sd_spinup_disk(struct scsi_disk *sdkp, char *diskname,
 	       struct scsi_request *SRpnt, unsigned char *buffer) {
 	unsigned char cmd[10];
-	struct scsi_device *sdp = sdkp->device;
 	unsigned long spintime_value = 0;
 	int the_result, retries, spintime;