mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
arm/midgard: the kernel now provides MIN/MAX macros
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user