[SCSI] arcmsr: simplify assumptions in dma_alloc_coherent()
authorTomas Henzl <thenzl@redhat.com>
Fri, 29 Apr 2011 14:28:30 +0000 (16:28 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 21:32:23 +0000 (16:32 -0500)
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 <thenzl@redhat.com>
Acked-by: Nick Cheng<nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found