From: Mark Einon Date: Mon, 12 Nov 2012 21:16:29 +0000 (+0000) Subject: staging: et131x: Remove unnecessary DMA address alignment code X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~444 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3c75e8dc81b6482ea230d03bbddddd38db9ab35;p=pandora-kernel.git staging: et131x: Remove unnecessary DMA address alignment code "The cpu return address and the DMA bus master address are both guaranteed to be aligned to the smallest PAGE_SIZE order which is greater than or equal to the requested size." There are several places in the et131x.c code where these addresses are aligned to a 4k boundary after a call to dma_alloc_coherent(), needlessly. Remove these alignment offset calculations, and the et131x_align_allocated_memory() call which is only used for 4k alignments. Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed