summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libc/write.c')
-rw-r--r--c/src/lib/libc/write.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/c/src/lib/libc/write.c b/c/src/lib/libc/write.c
index 13dc90bb89..a3eca4eccd 100644
--- a/c/src/lib/libc/write.c
+++ b/c/src/lib/libc/write.c
@@ -39,22 +39,6 @@ ssize_t write(
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 ) {
- rtems_libio_write_t fp;
-
- fp = rtems_libio_handlers[
- (iop->flags >> LIBIO_FLAGS_HANDLER_SHIFT) - 1].write;
- if ( fp == NULL )
- set_errno_and_return_minus_one( EBADF );
-
- return (*fp)( fd, buffer, count );
- }
-
- /*
* Now process the write() request.
*/