Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff97ba6d authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Remove device_to_mask



Completely unused function - remove it.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 635eca2d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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
 */