summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-09 12:26:54 +0200
committerGreentime Hu <greentime@andestech.com>2019-05-07 17:52:09 +0800
commit1cfdc6f92f25cd7ad1038835209ae4da39602b53 (patch)
tree25f676bfda065cd9f2e301df77478c71dfca3a49 /arch/nds32/include
parent0ff8e00f2c1e939a44410b1b33f62e1932384531 (diff)
downloadlinux-1cfdc6f92f25cd7ad1038835209ae4da39602b53.tar.gz
linux-1cfdc6f92f25cd7ad1038835209ae4da39602b53.tar.bz2
linux-1cfdc6f92f25cd7ad1038835209ae4da39602b53.zip
nds32: remove __virt_to_bus and __bus_to_virt
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>
Diffstat (limited to 'arch/nds32/include')
-rw-r--r--arch/nds32/include/asm/memory.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/nds32/include/asm/memory.h b/arch/nds32/include/asm/memory.h
index 60efc726b56e..9d552ee39bdb 100644
--- a/arch/nds32/include/asm/memory.h
+++ b/arch/nds32/include/asm/memory.h
@@ -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