[PATCH] x86 gart: remove unnecessary initialization



This is against tip/x86/iommu

=
From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Subject: [PATCH] x86 gart: remove unnecessary initialization in struct dma_mapping_ops

There is no point to have such initialization in struct dma_mapping_ops.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
---
arch/x86/kernel/pci-gart_64.c | 6 ------
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 25c94fb..b85a2f9 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,
--
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] x86 gart: remove unnecessary initialization
    ... Subject: [PATCH] x86 gart: remove unnecessary initialization in struct dma_mapping_ops ... There is no point to have such initialization in struct dma_mapping_ops. ...
    (Linux-Kernel)
  • Re: [PATCH] x86 gart: remove unnecessary initialization
    ... Subject: x86 gart: remove unnecessary initialization in struct dma_mapping_ops ... There is no point to have such initialization in struct dma_mapping_ops. ... applied to tip/x86/iommu, thanks! ...
    (Linux-Kernel)
  • Re: [PATCH 0/11] Per-bdi writeback flusher threads #4
    ... Dropped a prep patch, it has been included in mainline since. ... I've run it here many times, works fine with the current writeback ... struct super_block *sb, ... ret = -ENOMEM; ...
    (Linux-Kernel)
  • Re: [PATCH][RFC] fast file mapping for loop
    ... Here is a modified version of Jens' patch. ... Change loop to use fast mapping only when the new address_space op is ... The extent_map struct passed in will be inserted into ... * Add bio to back of pending list and wakeup thread ...
    (Linux-Kernel)
  • [PATCH i386] Live Patching Function on 2.6.11.7
    ... The patch was over 50k, so I separate it to each architecture and in line.. ... Live patch command loads the patch modules to target process's memory ... * param:regs register struct ...
    (Linux-Kernel)