diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-09-16 02:27:34 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-16 02:27:34 -0400 |
commit | 8786fb70ccb36c7cff64680bb80c46d3a09d44db (patch) | |
tree | 5bd97880e971a60a2c13b630d0c10e61a8fce668 | |
parent | 0edd55faea7c8081bc826234b917501738a6218f (diff) |
aic7xxx_old: removed unused 'req' variable
After the patch "block: remove spurious uses of REQ_HARDBARRIER",
we no longer use 'req' in aic7xxx_buildscb(). Kill it.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r-- | drivers/scsi/aic7xxx_old.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c index e1cd6062776c..aee73fafccc8 100644 --- a/drivers/scsi/aic7xxx_old.c +++ b/drivers/scsi/aic7xxx_old.c | |||
@@ -10119,7 +10119,6 @@ static void aic7xxx_buildscb(struct aic7xxx_host *p, struct scsi_cmnd *cmd, | |||
10119 | struct aic_dev_data *aic_dev = cmd->device->hostdata; | 10119 | struct aic_dev_data *aic_dev = cmd->device->hostdata; |
10120 | struct scsi_device *sdptr = cmd->device; | 10120 | struct scsi_device *sdptr = cmd->device; |
10121 | unsigned char tindex = TARGET_INDEX(cmd); | 10121 | unsigned char tindex = TARGET_INDEX(cmd); |
10122 | struct request *req = cmd->request; | ||
10123 | int use_sg; | 10122 | int use_sg; |
10124 | 10123 | ||
10125 | mask = (0x01 << tindex); | 10124 | mask = (0x01 << tindex); |