lkml.org 
[lkml]   [2014]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dmaengine: Remove unused definition of DMA_MAX_COOKIE
On Fri, Jul 11, 2014 at 06:18:26PM +0200, Geert Uytterhoeven wrote:
> 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>

Applied, thanks

--
~Vinod

> ---
> include/linux/dmaengine.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
> index 3d1c2aa51530..16e829034ae9 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)
> {
> --
> 1.9.1
>

--


\
 
 \ /
  Last update: 2014-07-25 11:41    [W:0.047 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site