aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2014-02-21 17:25:10 -0500
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 13:19:23 -0400
commitc14c5891ddbd20cffbc4e35bfba8b7fbac9d5ada (patch)
tree5fbdaea91d555875deea817d9a2024ab5a1735bd /drivers/scsi
parent8919358e3d3e78b97490d9d6b0179685962df58f (diff)
[SCSI] hpsa: remove unused struct request from CommandList
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/hpsa_cmd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h
index 8026d2e8154d..50388f133ac9 100644
--- a/drivers/scsi/hpsa_cmd.h
+++ b/drivers/scsi/hpsa_cmd.h
@@ -386,7 +386,6 @@ struct CommandList {
386 int cmd_type; 386 int cmd_type;
387 long cmdindex; 387 long cmdindex;
388 struct list_head list; 388 struct list_head list;
389 struct request *rq;
390 struct completion *waiting; 389 struct completion *waiting;
391 void *scsi_cmd; 390 void *scsi_cmd;
392 391
@@ -399,8 +398,8 @@ struct CommandList {
399 */ 398 */
400#define IS_32_BIT ((8 - sizeof(long))/4) 399#define IS_32_BIT ((8 - sizeof(long))/4)
401#define IS_64_BIT (!IS_32_BIT) 400#define IS_64_BIT (!IS_32_BIT)
402#define PAD_32 (36) 401#define PAD_32 (40)
403#define PAD_64 (4) 402#define PAD_64 (12)
404#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64) 403#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
405 u8 pad[COMMANDLIST_PAD]; 404 u8 pad[COMMANDLIST_PAD];
406}; 405};