dmaengine: Remove unused definition of DMA_MAX_COOKIE
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 11 Jul 2014 16:18:26 +0000 (18:18 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 25 Jul 2014 08:52:42 +0000 (14:22 +0530)
As of commit commit f04cd40701deace2efb9edd7120e59366bda2118 ("fsldma: fix
controller lockups"), its last (and only ever) user is gone.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/dmaengine.h

index d2c5cc7..4eb2f82 100644 (file)
@@ -37,7 +37,6 @@
  */
 typedef s32 dma_cookie_t;
 #define DMA_MIN_COOKIE 1
-#define DMA_MAX_COOKIE INT_MAX
 
 static inline int dma_submit_error(dma_cookie_t cookie)
 {