summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/fdatasync.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libcsupport/src/fdatasync.c')
-rw-r--r--c/src/exec/libcsupport/src/fdatasync.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/c/src/exec/libcsupport/src/fdatasync.c b/c/src/exec/libcsupport/src/fdatasync.c
index 7de28ce38a..e1f47848bf 100644
--- a/c/src/exec/libcsupport/src/fdatasync.c
+++ b/c/src/exec/libcsupport/src/fdatasync.c
@@ -28,14 +28,6 @@ int fdatasync(
rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );
/*
- * If this file descriptor is mapped to an external set of handlers,
- * then pass the request on to them.
- */
-
- if ( iop->flags & LIBIO_FLAGS_HANDLER_MASK )
- set_errno_and_return_minus_one( EBADF );
-
- /*
* Now process the fdatasync().
*/