diff options
-rw-r--r-- | arch/x86/mm/ioremap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 4e21231a5ce2..ee6648fe6b15 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -240,9 +240,6 @@ void iounmap(volatile void __iomem *addr) | |||
240 | return; | 240 | return; |
241 | } | 241 | } |
242 | 242 | ||
243 | /* Reset the direct mapping. Can block */ | ||
244 | ioremap_change_attr(p->phys_addr, p->size, IOR_MODE_CACHED); | ||
245 | |||
246 | /* Finally remove it */ | 243 | /* Finally remove it */ |
247 | o = remove_vm_area((void *)addr); | 244 | o = remove_vm_area((void *)addr); |
248 | BUG_ON(p != o || o == NULL); | 245 | BUG_ON(p != o || o == NULL); |