arm/midgard: the kernel now provides MIN/MAX macros

This commit is contained in:
Mauro Ribeiro
2026-01-26 11:19:23 -03:00
parent f5c4079f46
commit 1a2e5454c2

View File

@@ -36,7 +36,7 @@
* As a macro it may evaluate its arguments more than once.
* Refer to MAX macro for more details
*/
#define MIN(x, y) ((x) < (y) ? (x) : (y))
// #define MIN(x, y) ((x) < (y) ? (x) : (y))
/**
* MAX - Return the greater of two values.
@@ -50,7 +50,7 @@
* to retrieve the min and max of two values, consider using a conditional swap
* instead.
*/
#define MAX(x, y) ((x) < (y) ? (y) : (x))
// #define MAX(x, y) ((x) < (y) ? (y) : (x))
/**
* CSTD_UNUSED - Function-like macro for suppressing unused variable warnings.