projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0edd55f
)
aic7xxx_old: removed unused 'req' variable
author
Jens Axboe
<jaxboe@fusionio.com>
Thu, 16 Sep 2010 06:27:34 +0000
(08:27 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Thu, 16 Sep 2010 06:27:34 +0000
(08:27 +0200)
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>
drivers/scsi/aic7xxx_old.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/aic7xxx_old.c
b/drivers/scsi/aic7xxx_old.c
index e1cd6062776c1c3441e3aa6fc5602e0d151ffd6c..aee73fafccc834d5922baf4f5322bfede654464b 100644
(file)
--- 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,
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);