diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2020-11-10 10:36:21 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2020-11-20 19:19:12 +0100 |
commit | af71657c153fc18d7bcd35a3d5240fbd1ac7ebbd (patch) | |
tree | df5b87c23570636be927a24acd3d14f2519c3038 /arch/s390/mm | |
parent | 074ff04e279ab8a3f97fefd1b8a313b1e4f04e9b (diff) | |
download | linux-af71657c153fc18d7bcd35a3d5240fbd1ac7ebbd.tar.gz linux-af71657c153fc18d7bcd35a3d5240fbd1ac7ebbd.tar.bz2 linux-af71657c153fc18d7bcd35a3d5240fbd1ac7ebbd.zip |
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>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r-- | arch/s390/mm/vmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c index b239f2ba93b0..56ab9bb770f3 100644 --- a/arch/s390/mm/vmem.c +++ b/arch/s390/mm/vmem.c @@ -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) |