提交 f2a80aed 编写于 作者: C Christoph Hellwig

sh: remove DMA_ERROR_CODE

sh does not return errors for dma_map_page.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 d7950f83
......@@ -9,8 +9,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
return dma_ops;
}
#define DMA_ERROR_CODE 0
void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction dir);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册