Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1441865 > unrolled thread

[PATCH 48/66] perf trace beauty seccomp: Remove seccomp.h include

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2016-07-13 01:00 +0200
Last post2016-07-13 01:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 48/66] perf trace beauty seccomp: Remove seccomp.h include Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-13 01:00 +0200

#1441865 — [PATCH 48/66] perf trace beauty seccomp: Remove seccomp.h include

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2016-07-13 01:00 +0200
Subject[PATCH 48/66] perf trace beauty seccomp: Remove seccomp.h include
Message-ID<rUeOK-2RS-33@gated-at.bofh.it>
From: Arnaldo Carvalho de Melo <acme@redhat.com>

All we need from it is already conditionally defined, and this header
file is not present in older systems, so ditch it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-3jxpz9gwahk4e7ltqtnr1rjg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/trace/beauty/seccomp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/perf/trace/beauty/seccomp.c b/tools/perf/trace/beauty/seccomp.c
index 213c5a7e3e92..356441bce27d 100644
--- a/tools/perf/trace/beauty/seccomp.c
+++ b/tools/perf/trace/beauty/seccomp.c
@@ -1,5 +1,3 @@
-#include <linux/seccomp.h>
-
 #ifndef SECCOMP_SET_MODE_STRICT
 #define SECCOMP_SET_MODE_STRICT 0
 #endif
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web