Skip to content

Commit

Permalink
tools/testing/cxl: Remove unused SZ_512G macro
Browse files Browse the repository at this point in the history
SZ_512G macro has become useless since commit b2f3b74
("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>
  • Loading branch information
Xiao Yang authored and Vishal Verma committed Jul 21, 2023
1 parent 91019b5 commit 70d49bb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/testing/cxl/test/cxl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 70d49bb

Please sign in to comment.