From: Paul Mundt Date: Wed, 7 Feb 2007 12:27:50 +0000 (+0900) Subject: sh: Kill dead/unused ISA code from __ioremap(). X-Git-Tag: v2.6.21-rc1~179^2~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca43ecbf6e5c7216152e5a388f2ecdd87e07a293;p=linux-2.6 sh: Kill dead/unused ISA code from __ioremap(). Signed-off-by: Paul Mundt --- diff --git a/arch/sh/mm/ioremap.c b/arch/sh/mm/ioremap.c index 90b494a0cf..be03d74e99 100644 --- a/arch/sh/mm/ioremap.c +++ b/arch/sh/mm/ioremap.c @@ -44,12 +44,6 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, if (!size || last_addr < phys_addr) return NULL; - /* - * Don't remap the low PCI/ISA area, it's always mapped.. - */ - if (phys_addr >= 0xA0000 && last_addr < 0x100000) - return (void __iomem *)phys_to_virt(phys_addr); - /* * If we're on an SH7751 or SH7780 PCI controller, PCI memory is * mapped at the end of the address space (typically 0xfd000000)