qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] hw/cxl: Remove unused component_registers::io_registers[] ar


From: Philippe Mathieu-Daudé
Subject: [PATCH 1/2] hw/cxl: Remove unused component_registers::io_registers[] array
Date: Wed, 22 Jan 2025 07:56:23 +0100

Avoid wasting 4K for each component, remove unused io_registers[].

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/cxl/cxl_component.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/hw/cxl/cxl_component.h b/include/hw/cxl/cxl_component.h
index 945ee6ffd04..ac61c3f33a5 100644
--- a/include/hw/cxl/cxl_component.h
+++ b/include/hw/cxl/cxl_component.h
@@ -218,7 +218,6 @@ typedef struct component_registers {
      *   0xe000 - 0xe3ff CXL ARB/MUX registers
      *   0xe400 - 0xffff RSVD
      */
-    uint32_t io_registers[CXL2_COMPONENT_IO_REGION_SIZE >> 2];
     MemoryRegion io;
 
     uint32_t cache_mem_registers[CXL2_COMPONENT_CM_REGION_SIZE >> 2];
-- 
2.47.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]