summaryrefslogtreecommitdiff
path: root/drivers/cxl/cxl.h
diff options
context:
space:
mode:
authorBen Widawsky <ben.widawsky@intel.com>2021-07-16 16:15:47 -0700
committerDan Williams <dan.j.williams@intel.com>2021-08-06 08:27:02 -0700
commit5b68705d1e6340127464ef0ac0e1de94f823f14e (patch)
treee0fa714b186636318c322a6b8c80d5a6a7a48872 /drivers/cxl/cxl.h
parent1e39db573e4cdf798b899de2b1e72ac9bea08013 (diff)
cxl/pci: Simplify register setup
It is desirable to retain the mappings from the calling function. By simplifying this code, it will be much more straightforward to do that. Signed-off-by: Ben Widawsky <ben.widawsky@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20210716231548.174778-3-ben.widawsky@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/cxl.h')
-rw-r--r--drivers/cxl/cxl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h
index b6bda39a59e3..53927f9fa77e 100644
--- a/drivers/cxl/cxl.h
+++ b/drivers/cxl/cxl.h
@@ -140,7 +140,6 @@ struct cxl_device_reg_map {
};
struct cxl_register_map {
- struct list_head list;
u64 block_offset;
u8 reg_type;
u8 barno;