summaryrefslogtreecommitdiff
path: root/drivers/scsi/cxlflash/common.h
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2018-01-03 16:54:50 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-10 23:24:57 -0500
commit8762353106c4376deabd76473e1bd7ba36dd529c (patch)
treeedde4fde1e85c23419f2f41aba9a623cf5617fda /drivers/scsi/cxlflash/common.h
parentaf2047ec00bfd61b46b653e856dcf1e0bc567619 (diff)
downloadlwn-8762353106c4376deabd76473e1bd7ba36dd529c.tar.gz
lwn-8762353106c4376deabd76473e1bd7ba36dd529c.zip
scsi: cxlflash: Remove embedded CXL work structures
The CXL-specific work structure used to request the number of interrupts currently resides as a nested member of both the context information and hardware queue structures. It is used to cache values (specifically the number of interrupts) required by the CXL layer when starting a context. To facilitate staging that will ultimately allow the cxlflash core to become agnostic of the underlying accelerator transport, remove these embedded work structures. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxlflash/common.h')
-rw-r--r--drivers/scsi/cxlflash/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/cxlflash/common.h b/drivers/scsi/cxlflash/common.h
index d2a180de7e6c..48df89f6f0b3 100644
--- a/drivers/scsi/cxlflash/common.h
+++ b/drivers/scsi/cxlflash/common.h
@@ -204,7 +204,6 @@ struct hwq {
*/
struct afu *afu;
void *ctx_cookie;
- struct cxl_ioctl_start_work work;
struct sisl_host_map __iomem *host_map; /* MC host map */
struct sisl_ctrl_map __iomem *ctrl_map; /* MC control map */
ctx_hndl_t ctx_hndl; /* master's context handle */