Linux CXL
 help / color / mirror / Atom feed
* [PATCH] tools/testing/cxl: Remove unused SZ_512G macro
@ 2023-07-19 16:31 Xiao Yang
  2023-07-19 17:42 ` Dave Jiang
  0 siblings, 1 reply; 2+ messages in thread
From: Xiao Yang @ 2023-07-19 16:31 UTC (permalink / raw)
  To: linux-cxl; +Cc: Xiao Yang

SZ_512G macro has become useless since commit b2f3b74e1072
("tools/testing/cxl: Move cxl_test resources to the top of memory")
so remove it directly.

Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
 tools/testing/cxl/test/cxl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/testing/cxl/test/cxl.c b/tools/testing/cxl/test/cxl.c
index 0e78d8e19895..fb6ab9cef84f 100644
--- a/tools/testing/cxl/test/cxl.c
+++ b/tools/testing/cxl/test/cxl.c
@@ -999,10 +999,6 @@ static void mock_companion(struct acpi_device *adev, struct device *dev)
 #define SZ_64G (SZ_32G * 2)
 #endif
 
-#ifndef SZ_512G
-#define SZ_512G (SZ_64G * 8)
-#endif
-
 static __init int cxl_rch_init(void)
 {
 	int rc, i;
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-19 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-19 16:31 [PATCH] tools/testing/cxl: Remove unused SZ_512G macro Xiao Yang
2023-07-19 17:42 ` Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox