Skip to content

Commit

Permalink
nds32: remove __virt_to_bus and __bus_to_virt
Browse files Browse the repository at this point in the history
These macros are not used anywhere.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
  • Loading branch information
Christoph Hellwig authored and Greentime Hu committed May 7, 2019
1 parent 0ff8e00 commit 1cfdc6f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/nds32/include/asm/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
#define PHYS_OFFSET (0x0)
#endif

#ifndef __virt_to_bus
#define __virt_to_bus __virt_to_phys
#endif

#ifndef __bus_to_virt
#define __bus_to_virt __phys_to_virt
#endif

/*
* TASK_SIZE - the maximum size of a user space task.
* TASK_UNMAPPED_BASE - the lower boundary of the mmap VM area
Expand Down

0 comments on commit 1cfdc6f

Please sign in to comment.