We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c00697 commit 48e178aCopy full SHA for 48e178a
arch/x86/mm/pgtable.c
@@ -811,9 +811,6 @@ int pud_free_pmd_page(pud_t *pud, unsigned long addr)
811
pte_t *pte;
812
int i;
813
814
- if (pud_none(*pud))
815
- return 1;
816
-
817
pmd = (pmd_t *)pud_page_vaddr(*pud);
818
pmd_sv = (pmd_t *)__get_free_page(GFP_KERNEL);
819
if (!pmd_sv)
@@ -855,9 +852,6 @@ int pmd_free_pte_page(pmd_t *pmd, unsigned long addr)
855
852
{
856
853
857
854
858
- if (pmd_none(*pmd))
859
860
861
pte = (pte_t *)pmd_page_vaddr(*pmd);
862
pmd_clear(pmd);
863
0 commit comments