From: Geert Uytterhoeven Date: Fri, 11 Jul 2014 16:18:26 +0000 (+0200) Subject: dmaengine: Remove unused definition of DMA_MAX_COOKIE X-Git-Tag: v5.15~17417^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c9dbebdb6611d2cd75d025ec09035c3e8ce2160;p=platform%2Fkernel%2Flinux-starfive.git dmaengine: Remove unused definition of DMA_MAX_COOKIE As of commit commit f04cd40701deace2efb9edd7120e59366bda2118 ("fsldma: fix controller lockups"), its last (and only ever) user is gone. Signed-off-by: Geert Uytterhoeven Signed-off-by: Vinod Koul --- diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index d2c5cc7..4eb2f82 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -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) {