summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libcsupport/src/ioctl.c')
-rw-r--r--c/src/exec/libcsupport/src/ioctl.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/c/src/exec/libcsupport/src/ioctl.c b/c/src/exec/libcsupport/src/ioctl.c
index 5ac530b6e0..0e8072588b 100644
--- a/c/src/exec/libcsupport/src/ioctl.c
+++ b/c/src/exec/libcsupport/src/ioctl.c
@@ -31,22 +31,6 @@ int ioctl(
rtems_libio_check_is_open(iop);
/*
- * 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_ioctl_t fp;
-
- fp = rtems_libio_handlers[
- (iop->flags >> LIBIO_FLAGS_HANDLER_SHIFT) - 1].ioctl;
- if ( fp == NULL )
- set_errno_and_return_minus_one( EBADF );
-
- return (*fp)( fd, command, buffer );
- }
-
- /*
* Now process the ioctl().
*/