* [PATCH] tools/bootconfig: remove unused PAGE_SIZE macro
@ 2026-09-10 16:31 Sang-Heon Jeon
2026-09-11 14:29 ` Masami Hiramatsu
0 siblings, 1 reply; 2+ messages in thread
From: Sang-Heon Jeon @ 2026-09-10 16:31 UTC (permalink / raw)
To: Masami Hiramatsu; +Cc: linux-trace-kernel
PAGE_SIZE in tools/bootconfig has never been used, so remove the
definition.
No functional change.
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
---
tools/bootconfig/main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/bootconfig/main.c b/tools/bootconfig/main.c
index 7dc9fff9b637..2b4d9559159c 100644
--- a/tools/bootconfig/main.c
+++ b/tools/bootconfig/main.c
@@ -134,8 +134,6 @@ static void xbc_show_list(void)
}
}
-#define PAGE_SIZE 4096
-
static int load_xbc_fd(int fd, char **buf, int size)
{
int ret;
base-commit: 13e8b7707efcea3a401d242958ba0a392f227847
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools/bootconfig: remove unused PAGE_SIZE macro
2026-09-10 16:31 [PATCH] tools/bootconfig: remove unused PAGE_SIZE macro Sang-Heon Jeon
@ 2026-09-11 14:29 ` Masami Hiramatsu
0 siblings, 0 replies; 2+ messages in thread
From: Masami Hiramatsu @ 2026-09-11 14:29 UTC (permalink / raw)
To: Sang-Heon Jeon; +Cc: linux-trace-kernel
On Fri, 11 Sep 2026 01:31:50 +0900
Sang-Heon Jeon <ekffu200098@gmail.com> wrote:
> PAGE_SIZE in tools/bootconfig has never been used, so remove the
> definition.
>
> No functional change.
>
Good catch! OK, let me pick it.
Thanks!
> Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
> ---
> tools/bootconfig/main.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/tools/bootconfig/main.c b/tools/bootconfig/main.c
> index 7dc9fff9b637..2b4d9559159c 100644
> --- a/tools/bootconfig/main.c
> +++ b/tools/bootconfig/main.c
> @@ -134,8 +134,6 @@ static void xbc_show_list(void)
> }
> }
>
> -#define PAGE_SIZE 4096
> -
> static int load_xbc_fd(int fd, char **buf, int size)
> {
> int ret;
>
> base-commit: 13e8b7707efcea3a401d242958ba0a392f227847
> --
> 2.43.0
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-11 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-10 16:31 [PATCH] tools/bootconfig: remove unused PAGE_SIZE macro Sang-Heon Jeon
2026-09-11 14:29 ` Masami Hiramatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox