提交 ff97ba6d 编写于 作者: M Michal Simek

microblaze: Remove device_to_mask

Completely unused function - remove it.
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 635eca2d
......@@ -35,14 +35,6 @@
#define __dma_alloc_coherent(dev, gfp, size, handle) NULL
#define __dma_free_coherent(size, addr) ((void)0)
static inline unsigned long device_to_mask(struct device *dev)
{
if (dev->dma_mask && *dev->dma_mask)
return *dev->dma_mask;
/* Assume devices without mask can take 32 bit addresses */
return 0xfffffffful;
}
/*
* Available generic sets of operations
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册