omap44xx: sdma: remove redundant redefinitions of MIN()
authorSimon Gerber <simon.gerber@inf.ethz.ch>
Tue, 29 Aug 2017 07:16:42 +0000 (09:16 +0200)
committerSimon Gerber <simon.gerber@inf.ethz.ch>
Tue, 29 Aug 2017 07:16:42 +0000 (09:16 +0200)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

usr/bench/sdma_bench/sdma_bench.c
usr/drivers/omap44xx/sdma/main.c

index e6ab721..7524cd9 100644 (file)
@@ -19,8 +19,6 @@
 #include <stdio.h>
 #include <string.h>
 
-#define MIN(a,b) (((a)<(b))?(a):(b))
-
 #define MIN_FRAME_BITS 12 // 4KB
 #define MAX_FRAME_BITS 25 // 32MB
 
index 023db11..212a25c 100644 (file)
@@ -23,8 +23,6 @@
 #include "sdma.h"
 #include "omap_sdma.h"
 
-#define MIN(a,b) (((a)<(b))?(a):(b))
-
 /**
  * \brief Interrupt callback which will be called when a channel interrupt
  * occurs.