summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libc/fcntl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/c/src/lib/libc/fcntl.c b/c/src/lib/libc/fcntl.c
index a89306c9fc..7673049a58 100644
--- a/c/src/lib/libc/fcntl.c
+++ b/c/src/lib/libc/fcntl.c
@@ -37,13 +37,6 @@ int fcntl(
rtems_libio_check_is_open(iop);
/*
- * If this is not a file system based entity, it is an error.
- */
-
- if ( iop->flags & LIBIO_FLAGS_HANDLER_MASK )
- set_errno_and_return_minus_one( EBADF );
-
- /*
* Now process the fcntl().
*/