summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Mingyu <zhang.mingyu@zte.com.cn>2021-11-01 10:51:52 +0300
committerJan Kara <jack@suse.cz>2021-11-01 15:17:47 +0300
commit15c72660fe9a3fddb301ac90175860b14c63ff03 (patch)
tree0cb164cf80da87a3d65452a7e2f2d3577511a2f3
parentb7eccf75c28e5469bb4685a03310dbb66ee323f9 (diff)
downloadlinux-15c72660fe9a3fddb301ac90175860b14c63ff03.tar.xz
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.cn Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn> Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r--samples/fanotify/fs-monitor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/fanotify/fs-monitor.c b/samples/fanotify/fs-monitor.c
index 2e08a1807db7..608db24c471e 100644
--- a/samples/fanotify/fs-monitor.c
+++ b/samples/fanotify/fs-monitor.c
@@ -12,7 +12,6 @@
#include <sys/fanotify.h>
#include <sys/types.h>
#include <unistd.h>
-#include <sys/types.h>
#ifndef FAN_FS_ERROR
#define FAN_FS_ERROR 0x00008000