tools/testing/cxl: Remove unused SZ_512G macro
PATCH 1/1 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 <[email protected]>
--- tools/testing/cxl/test/cxl.c | 4 ---- 1 file changed, 4 deletions(-)
tools/testing/cxl/test/cxl.c +0 -4
@@ -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;
Signature · 1 line
2.40.1
Quoted 5 lines · Xiao Yang
SZ_512Gmacro has become useless since commitb2f3b74e1072("tools/testing/cxl: Movecxl_testresources to the top of memory") so remove it directly.Signed-off-by Xiao Yang <[email protected]>
Reviewed-by Dave Jiang <[email protected]>
Thanks for the cleanup
Quoted 19 lines
--- tools/testing/cxl/test/cxl.c | 4 ---- 1 file changed, 4 deletions(-)tools/testing/cxl/test/cxl.c +0
-4@@ -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;