public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Thorsten Blum <thorsten.blum@linux•dev>
To: Madhavan Srinivasan <maddy@linux•ibm.com>,
	Michael Ellerman <mpe@ellerman•id.au>,
	Nicholas Piggin <npiggin@gmail•com>,
	"Christophe Leroy (CS GROUP)" <chleroy@kernel•org>
Cc: Thorsten Blum <thorsten.blum@linux•dev>,
	linuxppc-dev@lists•ozlabs.org, linux-kernel@vger•kernel.org
Subject: [PATCH] powerpc/boot: remove unused min_t/max_t macros
Date: Mon, 25 May 2026 11:18:39 +0200	[thread overview]
Message-ID: <20260525091839.817778-3-thorsten.blum@linux.dev> (raw)

The min_t() and max_t() macros are no longer used by the boot wrapper,
remove them.

Signed-off-by: Thorsten Blum <thorsten.blum@linux•dev>
---
 arch/powerpc/boot/types.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/powerpc/boot/types.h b/arch/powerpc/boot/types.h
index 8a4c418b7260..c5085c2632bf 100644
--- a/arch/powerpc/boot/types.h
+++ b/arch/powerpc/boot/types.h
@@ -37,9 +37,6 @@ typedef s64 int64_t;
 	(void) (&_x == &_y);	\
 	_x > _y ? _x : _y; })
 
-#define min_t(type, a, b) min(((type) a), ((type) b))
-#define max_t(type, a, b) max(((type) a), ((type) b))
-
 typedef int bool;
 
 #ifndef true


             reply	other threads:[~2026-05-25  9:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-25  9:18 Thorsten Blum [this message]
2026-05-29  9:10 ` [PATCH] powerpc/boot: remove unused min_t/max_t macros Christophe Leroy (CS GROUP)
2026-05-29  9:45   ` Thorsten Blum
2026-05-29  9:52     ` Christophe Leroy (CS GROUP)
2026-05-29 19:50 ` kernel test robot

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=20260525091839.817778-3-thorsten.blum@linux.dev \
    --to=thorsten.blum@linux$(echo .)dev \
    --cc=chleroy@kernel$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=maddy@linux$(echo .)ibm.com \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=npiggin@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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