s390/vmem: remove redundant check
Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
parent
074ff04e27
commit
af71657c15
|
@ -223,7 +223,7 @@ static int __ref modify_pmd_table(pud_t *pud, unsigned long addr,
|
|||
if (!add) {
|
||||
if (pmd_none(*pmd))
|
||||
continue;
|
||||
if (pmd_large(*pmd) && !add) {
|
||||
if (pmd_large(*pmd)) {
|
||||
if (IS_ALIGNED(addr, PMD_SIZE) &&
|
||||
IS_ALIGNED(next, PMD_SIZE)) {
|
||||
if (!direct)
|
||||
|
|
Loading…
Reference in New Issue