Linux CXL
 help / color / mirror / Atom feed
From: Xiao Yang <yangx.jy@fujitsu.com>
To: linux-cxl@vger.kernel.org
Cc: Xiao Yang <yangx.jy@fujitsu.com>
Subject: [PATCH] tools/testing/cxl: Remove unused SZ_512G macro
Date: Thu, 20 Jul 2023 00:31:03 +0800	[thread overview]
Message-ID: <20230719163103.3392-1-yangx.jy@fujitsu.com> (raw)

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


             reply	other threads:[~2023-07-19 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19 16:31 Xiao Yang [this message]
2023-07-19 17:42 ` [PATCH] tools/testing/cxl: Remove unused SZ_512G macro Dave Jiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230719163103.3392-1-yangx.jy@fujitsu.com \
    --to=yangx.jy@fujitsu.com \
    --cc=linux-cxl@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox