diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-07-09 21:04:52 -0400 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2009-07-28 01:19:18 -0400 |
commit | cf56e3f2e8a8d5b7bc719980869b0e7985c256f3 (patch) | |
tree | 36b594be25cf278243bd79ed932f2362ff71afef /arch | |
parent | bb52196be37ce154ddc50b1f39496146d181cbe7 (diff) |
swiotlb: remove swiotlb_arch_range_needs_mapping
Nobody uses swiotlb_arch_range_needs_mapping().
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Becky Bruce <beckyb@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/pci-swiotlb.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c index ea675cfe76fe..165bd7f93bb1 100644 --- a/arch/x86/kernel/pci-swiotlb.c +++ b/arch/x86/kernel/pci-swiotlb.c | |||
@@ -23,11 +23,6 @@ phys_addr_t swiotlb_bus_to_phys(struct device *hwdev, dma_addr_t baddr) | |||
23 | return baddr; | 23 | return baddr; |
24 | } | 24 | } |
25 | 25 | ||
26 | int __weak swiotlb_arch_range_needs_mapping(phys_addr_t paddr, size_t size) | ||
27 | { | ||
28 | return 0; | ||
29 | } | ||
30 | |||
31 | static void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size, | 26 | static void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size, |
32 | dma_addr_t *dma_handle, gfp_t flags) | 27 | dma_addr_t *dma_handle, gfp_t flags) |
33 | { | 28 | { |