From a98262050b7acf599f255d970c348e6ed5b22224 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Sat, 16 Oct 2021 05:40:17 +0900 Subject: [PATCH] lsfd: remove duplicated an O_ flag entry Signed-off-by: Masatake YAMATO --- misc-utils/lsfd-file.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/misc-utils/lsfd-file.c b/misc-utils/lsfd-file.c index 9b860340dc..ea1410e6af 100644 --- a/misc-utils/lsfd-file.c +++ b/misc-utils/lsfd-file.c @@ -112,10 +112,6 @@ static void file_fill_flags_buf(struct ul_buffer *buf, int flags) SET_FLAG(NOCTTY,noctty); #endif -#ifdef O_NOCTTY - SET_FLAG(NOCTTY,noctty); -#endif - #ifdef O_APPEND SET_FLAG(APPEND,append); #endif -- 2.47.3