aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r--src/nvim/os/fs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index cead8d802b..99ece275b1 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -649,13 +649,6 @@ int os_fsync(int fd)
int r;
RUN_UV_FS_FUNC(r, uv_fs_fsync, fd, NULL);
g_stats.fsync++;
-#ifdef __APPLE__
- // TODO(justinmk): Remove this after it is fixed in libuv. #6725
- if (r == UV_ENOTSUP) {
- int rv = fsync(fd);
- return rv ? -rv : rv;
- }
-#endif
return r;
}