From: Topi Miettinen Date: Mon, 13 Nov 2017 21:00:03 +0000 (+0000) Subject: basic: remove redundant check (#7320) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0f48edebdb679406a22f1d4ce81be64f0bb32c5b;p=elogind.git basic: remove redundant check (#7320) The check is redundant as the whole block is only evaluated if __IGNORE_pkey_mprotect is not defined. Change to #else. --- diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 424dbff1a..54c174744 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -375,7 +375,7 @@ static inline int bpf(int cmd, union bpf_attr *attr, size_t size) { # if _MIPS_SIM == _MIPS_SIM_ABI64 # define __NR_pkey_mprotect 5323 # endif -# elif ! defined(__IGNORE_pkey_mprotect) +# else # warning "__NR_pkey_mprotect not defined for your architecture" # endif # endif