[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] hw/cxl: Get rid of unused cfmw_list
From: |
Jonathan Cameron |
Subject: |
[PATCH 1/3] hw/cxl: Get rid of unused cfmw_list |
Date: |
Tue, 2 Jul 2024 15:34:23 +0100 |
From: Li Zhijian <lizhijian@fujitsu.com>
There is no user for this member. All '-M cxl-fmw.N' options have
been parsed and saved to CXLState.fixed_windows.
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
include/hw/cxl/cxl.h | 1 -
hw/cxl/cxl-host.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/include/hw/cxl/cxl.h b/include/hw/cxl/cxl.h
index 75e47b6864..e3ecbef038 100644
--- a/include/hw/cxl/cxl.h
+++ b/include/hw/cxl/cxl.h
@@ -43,7 +43,6 @@ typedef struct CXLState {
MemoryRegion host_mr;
unsigned int next_mr_idx;
GList *fixed_windows;
- CXLFixedMemoryWindowOptionsList *cfmw_list;
} CXLState;
struct CXLHost {
diff --git a/hw/cxl/cxl-host.c b/hw/cxl/cxl-host.c
index c5f5fcfd64..926d3d3da7 100644
--- a/hw/cxl/cxl-host.c
+++ b/hw/cxl/cxl-host.c
@@ -335,7 +335,6 @@ static void machine_set_cfmw(Object *obj, Visitor *v, const
char *name,
for (it = cfmw_list; it; it = it->next) {
cxl_fixed_memory_window_config(state, it->value, errp);
}
- state->cfmw_list = cfmw_list;
}
void cxl_machine_init(Object *obj, CXLState *state)
--
2.43.0
[PATCH 2/3] hw/cxl/cxl-mailbox-utils: remove unneeded mailbox output payload space zeroing, Jonathan Cameron, 2024/07/02
[PATCH 3/3] hw/cxl: Check for multiple mappings of memory backends., Jonathan Cameron, 2024/07/02
Re: [PATCH qemu 0/3] hw/cxl: Misc minor improvements, Jonathan Cameron, 2024/07/05