summaryrefslogtreecommitdiffstats
path: root/tools/testing/cxl
diff options
context:
space:
mode:
authorXiao Yang <yangx.jy@fujitsu.com>2023-07-19 18:31:03 +0200
committerVishal Verma <vishal.l.verma@intel.com>2023-07-21 07:35:22 +0200
commit70d49bbf962ce4579bebd82938ef7f265bc3e6ae (patch)
tree83895e6f60745e91207773b9382671571ec31df8 /tools/testing/cxl
parentcxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws() (diff)
downloadlinux-70d49bbf962ce4579bebd82938ef7f265bc3e6ae.tar.xz
linux-70d49bbf962ce4579bebd82938ef7f265bc3e6ae.zip
tools/testing/cxl: Remove unused SZ_512G macro
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>
Diffstat (limited to 'tools/testing/cxl')
-rw-r--r--tools/testing/cxl/test/cxl.c4
1 files changed, 0 insertions, 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;