aboutsummaryrefslogtreecommitdiff
path: root/include/usbdcore.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-10-30 17:35:30 -0500
committerWolfgang Denk <wd@denx.de>2008-11-02 16:23:46 +0100
commit20d04774f4ef3f6e38974636e0e36ae0f0b5501f (patch)
tree15562cc70bebb87b130ba1ef5218df84f4297c1d /include/usbdcore.h
parent298e476c66fd88d0bc4f0371118652d2b5de4e8a (diff)
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>
Diffstat (limited to 'include/usbdcore.h')
-rw-r--r--include/usbdcore.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/usbdcore.h b/include/usbdcore.h
index cb2be7280..206dbbc86 100644
--- a/include/usbdcore.h
+++ b/include/usbdcore.h
@@ -126,14 +126,6 @@
})
#endif
-#ifndef MIN
-#define MIN(a,b) ((a) < (b) ? (a) : (b))
-#endif
-#ifndef MAX
-#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#endif
-
-
/*
* Structure member address manipulation macros.
* These are used by client code (code using the urb_link routines), since