Skip to content

Commit

Permalink
microblaze: Remove device_to_mask
Browse files Browse the repository at this point in the history
Completely unused function - remove it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Michal Simek committed Jun 4, 2014
1 parent 635eca2 commit ff97ba6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/microblaze/include/asm/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit ff97ba6

Please sign in to comment.