Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

microblaze: Remove device_to_mask

Completely unused function - remove it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

-8
-8
arch/microblaze/include/asm/dma-mapping.h
··· 35 35 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL 36 36 #define __dma_free_coherent(size, addr) ((void)0) 37 37 38 - static 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 39 * Available generic sets of operations 48 40 */