diff options
author | Heiko Carstens | 2021-01-24 20:10:27 +0100 |
---|---|---|
committer | Vasily Gorbik | 2021-02-09 15:57:05 +0100 |
commit | 5ffd9af0fb611069f0e390b568a6460ff2c4122c (patch) | |
tree | f33bed18bf1182619a93260d6c836bc73cd74c64 /arch/s390 | |
parent | e1eac1947bae72eff74925b2fb82b93ded11ae6a (diff) |
s390/vdso: remove superfluous check
vdso_pages (aka vdso64_pages) is never 0, therefore remove the check.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/vdso.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index f06791c085e7..da18ba855099 100644 --- a/arch/s390/kernel/vdso.c +++ b/arch/s390/kernel/vdso.c @@ -119,13 +119,6 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) vdso_pages = vdso64_pages; /* - * vDSO has a problem and was disabled, just don't "enable" it for - * the process - */ - if (vdso_pages == 0) - return 0; - - /* * pick a base address for the vDSO in process space. We try to put * it at vdso_base which is the "natural" base for it, but we might * fail and end up putting it elsewhere. |