diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-05-08 14:47:15 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:47 -0400 |
commit | 67ea838d17acdad3331aeae848683c768df96aaa (patch) | |
tree | 30a80c95a1add14babf985a108973cc9c3caac83 /drivers/scsi/isci/host.h | |
parent | b7645818cff1536038c0b21407eefb6b9d5755e6 (diff) |
isci: unify request data structures
Make scic_sds_request a proper member of isci_request. Also let's us
get rid of the dma pool object size tracking since we now know that all
requests are sizeof(isci_request). While cleaning up the construct
routine incidentally replaced SCI_FIELD_OFFSET with offsetof.
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/host.h')
-rw-r--r-- | drivers/scsi/isci/host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/isci/host.h b/drivers/scsi/isci/host.h index 5a414c31a877..afa41e83eaa7 100644 --- a/drivers/scsi/isci/host.h +++ b/drivers/scsi/isci/host.h | |||
@@ -82,7 +82,6 @@ struct isci_host { | |||
82 | struct list_head timers; | 82 | struct list_head timers; |
83 | void *core_ctrl_memory; | 83 | void *core_ctrl_memory; |
84 | struct dma_pool *dma_pool; | 84 | struct dma_pool *dma_pool; |
85 | unsigned int dma_pool_alloc_size; | ||
86 | struct isci_phy phys[SCI_MAX_PHYS]; | 85 | struct isci_phy phys[SCI_MAX_PHYS]; |
87 | struct isci_port ports[SCI_MAX_PORTS + 1]; /* includes dummy port */ | 86 | struct isci_port ports[SCI_MAX_PORTS + 1]; /* includes dummy port */ |
88 | struct sas_ha_struct sas_ha; | 87 | struct sas_ha_struct sas_ha; |