perf daemon: Remove duplicate sys/file.h include

There is a "#include <sys/file.h>" in line 10, so remove a duplicate
one in line 1124.

Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20211006062235.6364-1-guozhengkui@vivo.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Guo Zhengkui 2021-10-06 14:22:34 +08:00 committed by Arnaldo Carvalho de Melo
parent c2d4fab01f
commit c6c00900c7
1 changed files with 0 additions and 2 deletions

View File

@ -1121,8 +1121,6 @@ static int setup_config(struct daemon *daemon)
#ifndef F_TLOCK
#define F_TLOCK 2
#include <sys/file.h>
static int lockf(int fd, int cmd, off_t len)
{
if (cmd != F_TLOCK || len != 0)