tools/testing/cxl: Remove unused SZ_512G macro
authorXiao Yang <yangx.jy@fujitsu.com>
Wed, 19 Jul 2023 16:31:03 +0000 (00:31 +0800)
committerVishal Verma <vishal.l.verma@intel.com>
Fri, 21 Jul 2023 05:35:22 +0000 (23:35 -0600)
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>
Link: https://lore.kernel.org/r/20230719163103.3392-1-yangx.jy@fujitsu.com
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
tools/testing/cxl/test/cxl.c

index 0e78d8e1989595c61a122b37a822b1bb3f33b37c..fb6ab9cef84f773665ef83ff1ccc9f6510a143e7 100644 (file)
@@ -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;