Commit 99d1bd2c131b2da10cf451c69e5b8c51761a901b
Committed by
Linus Torvalds
1 parent
6d256fa886
Exists in
master
and in
39 other branches
dma-mapping: remove deprecated dma_sync_single and dma_sync_sg API
Since 2.6.5, it had been commented, 'for backwards compatibility, removed in 2.7.x'. Since 2.6.31, it have been marked as __deprecated. I think that we can remove the API safely now. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 0 additions and 15 deletions Side-by-side Diff
include/linux/dma-mapping.h
... | ... | @@ -95,21 +95,6 @@ |
95 | 95 | #include <asm-generic/dma-mapping-broken.h> |
96 | 96 | #endif |
97 | 97 | |
98 | -/* for backwards compatibility, removed soon */ | |
99 | -static inline void __deprecated dma_sync_single(struct device *dev, | |
100 | - dma_addr_t addr, size_t size, | |
101 | - enum dma_data_direction dir) | |
102 | -{ | |
103 | - dma_sync_single_for_cpu(dev, addr, size, dir); | |
104 | -} | |
105 | - | |
106 | -static inline void __deprecated dma_sync_sg(struct device *dev, | |
107 | - struct scatterlist *sg, int nelems, | |
108 | - enum dma_data_direction dir) | |
109 | -{ | |
110 | - dma_sync_sg_for_cpu(dev, sg, nelems, dir); | |
111 | -} | |
112 | - | |
113 | 98 | static inline u64 dma_get_mask(struct device *dev) |
114 | 99 | { |
115 | 100 | if (dev && dev->dma_mask && *dev->dma_mask) |