From c6c00900c751c2fab9e34ee27f5e883fc1a20fc6 Mon Sep 17 00:00:00 2001 From: Guo Zhengkui Date: Wed, 6 Oct 2021 14:22:34 +0800 Subject: [PATCH] perf daemon: Remove duplicate sys/file.h include There is a "#include " in line 10, so remove a duplicate one in line 1124. Signed-off-by: Guo Zhengkui Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lore.kernel.org/lkml/20211006062235.6364-1-guozhengkui@vivo.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-daemon.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/builtin-daemon.c b/tools/perf/builtin-daemon.c index c13201fb09c3..6cb3f6cc36d0 100644 --- a/tools/perf/builtin-daemon.c +++ b/tools/perf/builtin-daemon.c @@ -1121,8 +1121,6 @@ static int setup_config(struct daemon *daemon) #ifndef F_TLOCK #define F_TLOCK 2 -#include - static int lockf(int fd, int cmd, off_t len) { if (cmd != F_TLOCK || len != 0) -- 2.11.0