]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86 gart: remove unnecessary initialization
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 24 Sep 2008 13:41:10 +0000 (22:41 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Sep 2008 09:02:27 +0000 (11:02 +0200)
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>
arch/x86/kernel/pci-gart_64.c

index 25c94fb96d748c13a9da1965e6f63d6d13978524..b85a2f9bb34004bb0bffb7f943da352b3e488c29 100644 (file)
@@ -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,