From 1948b4cee82a6284d20130b4dc21a8f937c96cbd Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 18 Mar 2021 16:53:44 -0700 Subject: [PATCH] cloned_binary.c: rm redundant comments Remove comments with architectures when defining SYS_memfd_create, as they are redundant, and indent has a funny way of indenting them. Signed-off-by: Kir Kolyshkin --- libcontainer/nsenter/cloned_binary.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libcontainer/nsenter/cloned_binary.c b/libcontainer/nsenter/cloned_binary.c index 2667cd65c..a5fa15382 100644 --- a/libcontainer/nsenter/cloned_binary.c +++ b/libcontainer/nsenter/cloned_binary.c @@ -65,19 +65,19 @@ # else /* These values come from . */ # warning "libc is outdated -- using hard-coded SYS_memfd_create" -# if defined(__x86_64__) // x86_64 +# if defined(__x86_64__) # define SYS_memfd_create 319 -# elif defined(__i386__) // i386 +# elif defined(__i386__) # define SYS_memfd_create 356 -# elif defined(__ia64__) // ia64 +# elif defined(__ia64__) # define SYS_memfd_create 1340 -# elif defined(__arm__) // arm +# elif defined(__arm__) # define SYS_memfd_create 385 -# elif defined(__aarch64__) // arm64 +# elif defined(__aarch64__) # define SYS_memfd_create 279 -# elif defined(__ppc__) || defined(__ppc64__) // ppc + ppc64 +# elif defined(__ppc__) || defined(__ppc64__) # define SYS_memfd_create 360 -# elif defined(__s390__) || defined(__s390x__) // s390(x) +# elif defined(__s390__) || defined(__s390x__) # define SYS_memfd_create 350 # else # error "unknown architecture -- cannot hard-code SYS_memfd_create"