From: Michal Simek Date: Fri, 16 May 2014 11:08:44 +0000 (+0200) Subject: microblaze: Remove device_to_mask X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff97ba6d2f69d97aca4428ab012a13383a10892c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git microblaze: Remove device_to_mask Completely unused function - remove it. Signed-off-by: Michal Simek --- 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 @@ #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 */