Commit 15c72660 authored by Zhang Mingyu's avatar Zhang Mingyu Committed by Jan Kara

samples: remove duplicate include in fs-monitor.c

'sys/types.h' included in 'samples/fanotify/fs-monitor.c'
is duplicated.It is also included on 15 line.

Link: https://lore.kernel.org/r/20211101075152.35780-1-zhang.mingyu@zte.com.cnReported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarZhang Mingyu <zhang.mingyu@zte.com.cn>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent b7eccf75
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <sys/fanotify.h> #include <sys/fanotify.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h>
#ifndef FAN_FS_ERROR #ifndef FAN_FS_ERROR
#define FAN_FS_ERROR 0x00008000 #define FAN_FS_ERROR 0x00008000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment