aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-05-16 07:08:44 -0400
committerMichal Simek <michal.simek@xilinx.com>2014-06-04 00:59:58 -0400
commitff97ba6d2f69d97aca4428ab012a13383a10892c (patch)
tree51d1a9102906b0f2418c32cd48f6637b222250f7 /arch/microblaze
parent635eca2d31bfc44b519a50e0cdf9ad9125179906 (diff)
microblaze: Remove device_to_mask
Completely unused function - remove it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/dma-mapping.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/microblaze/include/asm/dma-mapping.h b/arch/microblaze/include/asm/dma-mapping.h
index 48180ea8633a..ab353723076a 100644
--- a/arch/microblaze/include/asm/dma-mapping.h
+++ b/arch/microblaze/include/asm/dma-mapping.h
@@ -35,14 +35,6 @@
35#define __dma_alloc_coherent(dev, gfp, size, handle) NULL 35#define __dma_alloc_coherent(dev, gfp, size, handle) NULL
36#define __dma_free_coherent(size, addr) ((void)0) 36#define __dma_free_coherent(size, addr) ((void)0)
37 37
38static inline unsigned long device_to_mask(struct device *dev)
39{
40 if (dev->dma_mask && *dev->dma_mask)
41 return *dev->dma_mask;
42 /* Assume devices without mask can take 32 bit addresses */
43 return 0xfffffffful;
44}
45
46/* 38/*
47 * Available generic sets of operations 39 * Available generic sets of operations
48 */ 40 */