From: Masatake YAMATO Date: Fri, 15 Oct 2021 20:40:17 +0000 (+0900) Subject: lsfd: remove duplicated an O_ flag entry X-Git-Tag: v2.38-rc1~144^2~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a98262050b7acf599f255d970c348e6ed5b22224;p=thirdparty%2Futil-linux.git lsfd: remove duplicated an O_ flag entry Signed-off-by: Masatake YAMATO --- 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