Commit 5ffd9af0 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik
Browse files

s390/vdso: remove superfluous check



vdso_pages (aka vdso64_pages) is never 0, therefore remove the check.

Reviewed-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent e1eac194
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -118,13 +118,6 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
		return 0;

	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