summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-09-24 22:41:10 +0900
committerIngo Molnar <mingo@elte.hu>2008-09-25 11:02:27 +0200
commit1615965e54eb94d7bcd298d2163739bd79f602d4 (patch)
tree7777f6f7278f2abdded46307a33962657ab660a9
parent1d990882153f36723f9e8717c4401689e64c7a36 (diff)
downloadlinux-1615965e54eb94d7bcd298d2163739bd79f602d4.tar.gz
linux-1615965e54eb94d7bcd298d2163739bd79f602d4.tar.bz2
linux-1615965e54eb94d7bcd298d2163739bd79f602d4.zip
x86 gart: remove unnecessary initialization
There is no point to have such initialization in struct dma_mapping_ops. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/pci-gart_64.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
index 25c94fb96d74..b85a2f9bb340 100644
--- a/arch/x86/kernel/pci-gart_64.c
+++ b/arch/x86/kernel/pci-gart_64.c
@@ -715,12 +715,6 @@ extern int agp_amd64_init(void);
static struct dma_mapping_ops gart_dma_ops = {
.map_single = gart_map_single,
.unmap_single = gart_unmap_single,
- .sync_single_for_cpu = NULL,
- .sync_single_for_device = NULL,
- .sync_single_range_for_cpu = NULL,
- .sync_single_range_for_device = NULL,
- .sync_sg_for_cpu = NULL,
- .sync_sg_for_device = NULL,
.map_sg = gart_map_sg,
.unmap_sg = gart_unmap_sg,
.alloc_coherent = gart_alloc_coherent,