Commit 8786fb70 authored by Jens Axboe's avatar Jens Axboe

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 0edd55fa
...@@ -10119,7 +10119,6 @@ static void aic7xxx_buildscb(struct aic7xxx_host *p, struct scsi_cmnd *cmd, ...@@ -10119,7 +10119,6 @@ static void aic7xxx_buildscb(struct aic7xxx_host *p, struct scsi_cmnd *cmd,
struct aic_dev_data *aic_dev = cmd->device->hostdata; struct aic_dev_data *aic_dev = cmd->device->hostdata;
struct scsi_device *sdptr = cmd->device; struct scsi_device *sdptr = cmd->device;
unsigned char tindex = TARGET_INDEX(cmd); unsigned char tindex = TARGET_INDEX(cmd);
struct request *req = cmd->request;
int use_sg; int use_sg;
mask = (0x01 << tindex); mask = (0x01 << tindex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment