diff options
author | Zhang Mingyu <zhang.mingyu@zte.com.cn> | 2021-11-01 08:51:52 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-11-01 13:17:47 +0100 |
commit | 15c72660fe9a3fddb301ac90175860b14c63ff03 (patch) | |
tree | 0cb164cf80da87a3d65452a7e2f2d3577511a2f3 /samples/fanotify | |
parent | samples: Fix warning in fsnotify sample (diff) | |
download | linux-15c72660fe9a3fddb301ac90175860b14c63ff03.tar.xz linux-15c72660fe9a3fddb301ac90175860b14c63ff03.zip |
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>
Diffstat (limited to 'samples/fanotify')
-rw-r--r-- | samples/fanotify/fs-monitor.c | 1 |
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 |