From: Topi Miettinen Date: Mon, 13 Nov 2017 21:00:03 +0000 (+0000) Subject: basic: remove redundant check (#7320) X-Git-Tag: v236~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c6888ac45750bae2704d72936ee2bb46e8fd4f6;p=platform%2Fupstream%2Fsystemd.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 ecb3fa5..95a7361 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -373,7 +373,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