Skip to content

Commit

Permalink
aic7xxx_old: removed unused 'req' variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jens Axboe committed Sep 16, 2010
1 parent 0edd55f commit 8786fb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/scsi/aic7xxx_old.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 scsi_device *sdptr = cmd->device;
unsigned char tindex = TARGET_INDEX(cmd);
struct request *req = cmd->request;
int use_sg;

mask = (0x01 << tindex);
Expand Down

0 comments on commit 8786fb7

Please sign in to comment.