Consolidate MAX/MIN definitions

There were several, now there is one (two if you count the lower-case
versions).

Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
Andy Fleming
2008-10-30 17:35:30 -05:00
committed by Wolfgang Denk
parent 298e476c66
commit 20d04774f4
7 changed files with 3 additions and 22 deletions

View File

@@ -193,8 +193,6 @@ extern int overflowEvent;
#define LEFT (-1)
/* macros */
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define IX_ETH_DB_CHECK_PORT_EXISTS(portID) \
{ \
if ((portID) >= IX_ETH_DB_NUMBER_OF_PORTS) \