[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>
This commit is contained in:
committed by
James Bottomley
parent
8919358e3d
commit
c14c5891dd
@@ -386,7 +386,6 @@ struct CommandList {
|
|||||||
int cmd_type;
|
int cmd_type;
|
||||||
long cmdindex;
|
long cmdindex;
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
struct request *rq;
|
|
||||||
struct completion *waiting;
|
struct completion *waiting;
|
||||||
void *scsi_cmd;
|
void *scsi_cmd;
|
||||||
|
|
||||||
@@ -399,8 +398,8 @@ struct CommandList {
|
|||||||
*/
|
*/
|
||||||
#define IS_32_BIT ((8 - sizeof(long))/4)
|
#define IS_32_BIT ((8 - sizeof(long))/4)
|
||||||
#define IS_64_BIT (!IS_32_BIT)
|
#define IS_64_BIT (!IS_32_BIT)
|
||||||
#define PAD_32 (36)
|
#define PAD_32 (40)
|
||||||
#define PAD_64 (4)
|
#define PAD_64 (12)
|
||||||
#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
|
#define COMMANDLIST_PAD (IS_32_BIT * PAD_32 + IS_64_BIT * PAD_64)
|
||||||
u8 pad[COMMANDLIST_PAD];
|
u8 pad[COMMANDLIST_PAD];
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user