]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
m68knommu: remove empty __iounmap() it is no used
authorGreg Ungerer <gerg@uclinux.org>
Thu, 4 Nov 2010 06:17:43 +0000 (16:17 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 5 Jan 2011 05:19:18 +0000 (15:19 +1000)
The empty __iounmap() function is not used on m68knommu at all.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/io_no.h
arch/m68knommu/mm/kmap.c

index 6e2413e518cb2da8815f1af905d7c4720fceff50..cf20f3097af6f3e31c7c6ab76b7363b9dcc99615 100644 (file)
@@ -145,7 +145,6 @@ static inline void io_insl(unsigned int addr, void *buf, int len)
 #define IOMAP_WRITETHROUGH             3
 
 extern void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag);
-extern void __iounmap(void *addr, unsigned long size);
 
 static inline void *ioremap(unsigned long physaddr, unsigned long size)
 {
index 902c1dfda9e530eefd41aad1ff7367f211ac529b..ece8d5ad4e6cefc24bf095092dd2034f61436fd9 100644 (file)
@@ -35,15 +35,6 @@ void iounmap(void *addr)
 {
 }
 
-/*
- * __iounmap unmaps nearly everything, so be careful
- * it doesn't free currently pointer/page tables anymore but it
- * wans't used anyway and might be added later.
- */
-void __iounmap(void *addr, unsigned long size)
-{
-}
-
 /*
  * Set new cache mode for some kernel address space.
  * The caller must push data for that range itself, if such data may already