commit | 87f76152dfb1bf3de18dc01cf97c70a5c9d2583e | [log] [tgz] |
---|---|---|
author | Tomas Henzl <[email protected]> | Fri Apr 29 16:28:30 2011 +0200 |
committer | James Bottomley <[email protected]> | Sun May 01 16:32:23 2011 -0500 |
tree | 6a0b4a19fe3a3c42155f3e07b4a8d91bfa9812c6 | |
parent | 8b7eb86f61a10132aad7f90e89a15dc89e495d9e [diff] |
[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 <[email protected]> Acked-by: Nick Cheng<[email protected]> Signed-off-by: James Bottomley <[email protected]>