OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8919358
)
[SCSI] hpsa: remove unused struct request from CommandList
author
Stephen M. Cameron
<scameron@beardog.cce.hp.com>
Fri, 21 Feb 2014 22:25:10 +0000
(16:25 -0600)
committer
James Bottomley
<JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:23 +0000
(10:19 -0700)
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa_cmd.h
patch
|
blob
|
history
diff --git
a/drivers/scsi/hpsa_cmd.h
b/drivers/scsi/hpsa_cmd.h
index
8026d2e
..
50388f1
100644
(file)
--- a/
drivers/scsi/hpsa_cmd.h
+++ b/
drivers/scsi/hpsa_cmd.h
@@
-386,7
+386,6
@@
struct CommandList {
int cmd_type;
long cmdindex;
struct list_head list;
- struct request *rq;
struct completion *waiting;
void *scsi_cmd;
@@
-399,8
+398,8
@@
struct CommandList {
*/
#define IS_32_BIT ((8 - sizeof(long))/4)
#define IS_64_BIT (!IS_32_BIT)
-#define PAD_32 (
36
)
-#define PAD_64 (
4
)
+#define PAD_32 (
40
)
+#define PAD_64 (
12
)
#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
u8 pad[COMMANDLIST_PAD];
};