diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index 723a60a199a2ef244f226f7e37527978d3011364..5b86386bc1cb2fbd98a97581f1f44d57f78c3946 100644
--- a/arch/mips/include/asm/io.h
+++ b/arch/mips/include/asm/io.h
@@ -92,11 +92,8 @@ static inline unsigned long virt_to_phys(volatile const void *address)
 #ifdef CONFIG_64BIT
 	if (addr < CKSEG0)
 		return XPHYSADDR(addr);
-
-	return CPHYSADDR(addr);
-#else
-	return addr - PAGE_OFFSET + PHYS_OFFSET;
 #endif
+	return CPHYSADDR(addr);
 }
 
 /*