From: Lee Jones Date: Fri, 3 May 2013 14:31:58 +0000 (+0100) Subject: dmaengine: ste_dma40: Remove home-brew MAX() macro X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2~17^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b3da1498943840005d7d5652caf4fe6fd333e6;p=pandora-kernel.git dmaengine: ste_dma40: Remove home-brew MAX() macro 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 Cc: Per Forlin Cc: Rabin Vincent Acked-by: Vinod Koul Reported-by: Harvey Harrison Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed