]> Git Repo - J-linux.git/commitdiff
samples: remove duplicate include in fs-monitor.c
authorZhang Mingyu <[email protected]>
Mon, 1 Nov 2021 07:51:52 +0000 (07:51 +0000)
committerJan Kara <[email protected]>
Mon, 1 Nov 2021 12:17:47 +0000 (13:17 +0100)
'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/[email protected]
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Zhang Mingyu <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
samples/fanotify/fs-monitor.c

index 2e08a1807db77722c15116f3bf9e965ff1e3bb88..608db24c471e762e835a5567e89ca5d877a8e984 100644 (file)
@@ -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
This page took 0.051269 seconds and 4 git commands to generate.