浏览代码

[SCSI] dpt_i2o warning fix

drivers/scsi/dpt_i2o.c: In function `adpt_queue':
drivers/scsi/dpt_i2o.c:385: warning: unused variable `timeout'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Andrew Morton 20 年之前
父节点
当前提交
a599012025
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/scsi/dpt_i2o.c

+ 0 - 1
drivers/scsi/dpt_i2o.c

@@ -382,7 +382,6 @@ static int adpt_queue(struct scsi_cmnd * cmd, void (*done) (struct scsi_cmnd *))
 {
 	adpt_hba* pHba = NULL;
 	struct adpt_device* pDev = NULL;	/* dpt per device information */
-	ulong timeout = jiffies + (TMOUT_SCSI*HZ);
 
 	cmd->scsi_done = done;
 	/*