dmaengine: ste_dma40: Remove home-brew MAX() macro
authorLee Jones <lee.jones@linaro.org>
Fri, 3 May 2013 14:31:58 +0000 (15:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:12:02 +0000 (21:12 +0200)
The current implementation of the DMA40's local MAX() macro evaluates
its arguments more times than is necessary and it not type checked.
This patch strips replaces it with a new, more efficient constant.

Cc: Dan Williams <djbw@fb.com>
Cc: Per Forlin <per.forlin@stericsson.com>
Cc: Rabin Vincent <rabin@rab.in>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Reported-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found