diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-12-28 01:02:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-28 04:04:00 -0500 |
commit | ac86ccc637458dea53077823f98bc3e1b874d478 (patch) | |
tree | 5634291a08e8b673c197b160bcf950ea8a7a3b4f /lib/swiotlb.c | |
parent | 1da4f9894c243a9c58c505fd8f3e6cc0709a8825 (diff) |
swiotlb: remove unnecessary declaration
Impact: cleanup
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/swiotlb.c')
-rw-r--r-- | lib/swiotlb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 785046e4c3ab..5a7d0a4a9da3 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <linux/swiotlb.h> | ||
26 | #include <linux/string.h> | 25 | #include <linux/string.h> |
27 | #include <linux/swiotlb.h> | 26 | #include <linux/swiotlb.h> |
28 | #include <linux/pfn.h> | 27 | #include <linux/pfn.h> |
@@ -777,8 +776,6 @@ swiotlb_sync_single_range_for_device(struct device *hwdev, dma_addr_t dev_addr, | |||
777 | SYNC_FOR_DEVICE); | 776 | SYNC_FOR_DEVICE); |
778 | } | 777 | } |
779 | 778 | ||
780 | void swiotlb_unmap_sg_attrs(struct device *, struct scatterlist *, int, int, | ||
781 | struct dma_attrs *); | ||
782 | /* | 779 | /* |
783 | * Map a set of buffers described by scatterlist in streaming mode for DMA. | 780 | * Map a set of buffers described by scatterlist in streaming mode for DMA. |
784 | * This is the scatter-gather version of the above swiotlb_map_single | 781 | * This is the scatter-gather version of the above swiotlb_map_single |