public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [PATCH] powerpc/boot: remove unused min_t/max_t macros
@ 2026-05-25  9:18 Thorsten Blum
  2026-05-29  9:10 ` Christophe Leroy (CS GROUP)
  2026-05-29 19:50 ` kernel test robot
  0 siblings, 2 replies; 5+ messages in thread
From: Thorsten Blum @ 2026-05-25  9:18 UTC (permalink / raw)
  To: Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy (CS GROUP)
  Cc: Thorsten Blum, linuxppc-dev, linux-kernel

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-29 19:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-25  9:18 [PATCH] powerpc/boot: remove unused min_t/max_t macros Thorsten Blum
2026-05-29  9:10 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox