projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aee5c8
)
x86: remove unnecessary sync_single_range_* in swiotlb_dma_ops
author
FUJITA Tomonori
<
[email protected]
>
Wed, 26 May 2010 21:44:16 +0000
(14:44 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 27 May 2010 16:12:52 +0000
(09:12 -0700)
sync_single_range_for_cpu and sync_single_range_for_device hooks in
swiotlb_dma_ops are unnecessary because sync_single_for_cpu and
sync_single_for_device are used there.
Signed-off-by: FUJITA Tomonori <
[email protected]
>
Cc: "H. Peter Anvin" <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Reviewed-by: Konrad Rzeszutek Wilk <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/kernel/pci-swiotlb.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/pci-swiotlb.c
b/arch/x86/kernel/pci-swiotlb.c
index 7d2829dde20e8cbbf538ea6fcf39384510a65426..a5bc528d43282a344936922328d2b5bf59b187ae 100644
(file)
--- a/
arch/x86/kernel/pci-swiotlb.c
+++ b/
arch/x86/kernel/pci-swiotlb.c
@@
-31,8
+31,6
@@
static struct dma_map_ops swiotlb_dma_ops = {
.free_coherent = swiotlb_free_coherent,
.sync_single_for_cpu = swiotlb_sync_single_for_cpu,
.sync_single_for_device = swiotlb_sync_single_for_device,
- .sync_single_range_for_cpu = swiotlb_sync_single_range_for_cpu,
- .sync_single_range_for_device = swiotlb_sync_single_range_for_device,
.sync_sg_for_cpu = swiotlb_sync_sg_for_cpu,
.sync_sg_for_device = swiotlb_sync_sg_for_device,
.map_sg = swiotlb_map_sg_attrs,