diff options
author | Tomas Henzl <thenzl@redhat.com> | 2011-04-29 16:28:30 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 23:32:23 +0200 |
commit | 87f76152dfb1bf3de18dc01cf97c70a5c9d2583e (patch) | |
tree | 6a0b4a19fe3a3c42155f3e07b4a8d91bfa9812c6 /Documentation/input | |
parent | [SCSI] arcmsr: simplify some double loops in sleeping functions (diff) | |
download | linux-87f76152dfb1bf3de18dc01cf97c70a5c9d2583e.tar.xz linux-87f76152dfb1bf3de18dc01cf97c70a5c9d2583e.zip |
[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 <thenzl@redhat.com>
Acked-by: Nick Cheng<nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'Documentation/input')
0 files changed, 0 insertions, 0 deletions