x86: remove cpa warning
[sfrench/cifs-2.6.git] / arch / x86 / mm / pageattr.c
index 72880993af89bb9b23656e68e4e61f326d6cb5ac..0b029c97174ec4779825e1de739d2c430e6d09c9 100644 (file)
@@ -356,10 +356,8 @@ static int split_large_page(pte_t *kpte, unsigned long address)
         * up for us already:
         */
        tmp = lookup_address(address, &level);
-       if (tmp != kpte) {
-               WARN_ON_ONCE(1);
+       if (tmp != kpte)
                goto out_unlock;
-       }
 
        address = __pa(address);
        addr = address & PMD_PAGE_MASK;