diff options
author | Greg Ungerer <gerg@uclinux.org> | 2010-11-04 02:17:43 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-01-05 00:19:18 -0500 |
commit | 63e83c8a52031555b1e724f98a33f1838dee6345 (patch) | |
tree | 5a707dc5bc86afd7037864f39919b13b8beccace /arch | |
parent | b00b766d0cca46133955ea8f19f6d259ad854797 (diff) |
m68knommu: remove empty __iounmap() it is no used
The empty __iounmap() function is not used on m68knommu at all.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/include/asm/io_no.h | 1 | ||||
-rw-r--r-- | arch/m68knommu/mm/kmap.c | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/m68k/include/asm/io_no.h b/arch/m68k/include/asm/io_no.h index 6e2413e518cb..cf20f3097af6 100644 --- a/arch/m68k/include/asm/io_no.h +++ b/arch/m68k/include/asm/io_no.h | |||
@@ -145,7 +145,6 @@ static inline void io_insl(unsigned int addr, void *buf, int len) | |||
145 | #define IOMAP_WRITETHROUGH 3 | 145 | #define IOMAP_WRITETHROUGH 3 |
146 | 146 | ||
147 | extern void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag); | 147 | extern void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag); |
148 | extern void __iounmap(void *addr, unsigned long size); | ||
149 | 148 | ||
150 | static inline void *ioremap(unsigned long physaddr, unsigned long size) | 149 | static inline void *ioremap(unsigned long physaddr, unsigned long size) |
151 | { | 150 | { |
diff --git a/arch/m68knommu/mm/kmap.c b/arch/m68knommu/mm/kmap.c index 902c1dfda9e5..ece8d5ad4e6c 100644 --- a/arch/m68knommu/mm/kmap.c +++ b/arch/m68knommu/mm/kmap.c | |||
@@ -36,15 +36,6 @@ void iounmap(void *addr) | |||
36 | } | 36 | } |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * __iounmap unmaps nearly everything, so be careful | ||
40 | * it doesn't free currently pointer/page tables anymore but it | ||
41 | * wans't used anyway and might be added later. | ||
42 | */ | ||
43 | void __iounmap(void *addr, unsigned long size) | ||
44 | { | ||
45 | } | ||
46 | |||
47 | /* | ||
48 | * Set new cache mode for some kernel address space. | 39 | * Set new cache mode for some kernel address space. |
49 | * The caller must push data for that range itself, if such data may already | 40 | * The caller must push data for that range itself, if such data may already |
50 | * be in the cache. | 41 | * be in the cache. |