Skip to contentSkip to conversation

remove timeout from struct scsi_device

PATCH In review James Bottomley 1 participant 1 message Nov 30, 2008 SCSI

lore
Share & tools
lore

James Bottomley

author maintainer
#0 lore raw

PATCH 7/7 remove timeout from struct scsi_device

by removing the unused timeout parameter we ensure a compile failure if anyone is accidentally still using it rather than the block timeout.

---

include/scsi/scsi_device.h +0 -2
index a37a814..2a1c141 100644
@@ -159,8 +159,6 @@ struct scsi_device {
 	atomic_t iodone_cnt;
 	atomic_t ioerr_cnt;
 
-	int timeout;
-
 	struct device		sdev_gendev,
 				sdev_dev;