From: Tomas Henzl Date: Fri, 29 Apr 2011 14:28:30 +0000 (+0200) Subject: [SCSI] arcmsr: simplify assumptions in dma_alloc_coherent() X-Git-Tag: v3.0-rc1~383^2~38 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=87f76152dfb1bf3de18dc01cf97c70a5c9d2583e;hp=8b7eb86f61a10132aad7f90e89a15dc89e495d9e [SCSI] arcmsr: simplify assumptions in dma_alloc_coherent() The code currently computes an offset into a dma_alloc_coherent() area on the assumption that the alignment is imprecise. In fact, the API guarantees PAGE_SIZE alignment, so the offset calculation is always zero: remove it. [jejb: make description actually descriptive] Signed-off-by: Tomas henzl Acked-by: Nick Cheng Signed-off-by: James Bottomley --- Reading git-diff-tree failed