Merge pull request #3749 from BrzVlad/fix-mips-fix
[mono.git] / mono / metadata / file-io.c
index be1ad8a1c79df27548f7f97eac879fd0969145e6..1e0422e35fbc0f069b63b3136850af188a785384 100644 (file)
@@ -805,10 +805,6 @@ ves_icall_System_IO_MonoIO_Open (MonoString *filename, gint32 mode,
                if (options & FileOptions_Temporary)
                        attributes |= FILE_ATTRIBUTE_TEMPORARY;
                
-               /* Not sure if we should set FILE_FLAG_OVERLAPPED, how does this mix with the "Async" bool here? */
-               if (options & FileOptions_Asynchronous)
-                       attributes |= FILE_FLAG_OVERLAPPED;
-               
                if (options & FileOptions_WriteThrough)
                        attributes |= FILE_FLAG_WRITE_THROUGH;
        } else