diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-13 08:25:33 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-14 07:02:29 +0200 |
commit | 7b4520258d1d449bd14c83a6b6490be8375e4a35 (patch) | |
tree | ddd172091250daebee6de889557ae844c2499860 /cpukit/libcsupport/src/fstat.c | |
parent | libio: Remove LIBIO_FLAGS_CREATE (diff) | |
download | rtems-7b4520258d1d449bd14c83a6b6490be8375e4a35.tar.bz2 |
libio: Simplify rtems_libio_iop()
Remove the file descriptor validation. This is the job of
rtems_libio_check_fd(). Use an inline function instread of a macro.
Update #3132.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/fstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/fstat.c b/cpukit/libcsupport/src/fstat.c index 8b39c438f4..4c284bd408 100644 --- a/cpukit/libcsupport/src/fstat.c +++ b/cpukit/libcsupport/src/fstat.c @@ -36,8 +36,8 @@ int fstat( /* * Now process the stat() request. */ - iop = rtems_libio_iop( fd ); rtems_libio_check_fd( fd ); + iop = rtems_libio_iop( fd ); rtems_libio_check_is_open(iop); /* |