Skip to content

Commit

Permalink
m68knommu: remove empty __iounmap() it is no used
Browse files Browse the repository at this point in the history
The empty __iounmap() function is not used on m68knommu at all.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
  • Loading branch information
Greg Ungerer committed Jan 5, 2011
1 parent b00b766 commit 63e83c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion arch/m68k/include/asm/io_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
9 changes: 0 additions & 9 deletions arch/m68knommu/mm/kmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63e83c8

Please sign in to comment.