summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fstat.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-30 22:36:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-30 22:36:32 +0000
commit0aea082fe07cad72dd8120d307c22bf015378a79 (patch)
treed261f225130072dbd0ea32e3d1efbf983665f764 /cpukit/libcsupport/src/fstat.c
parent2010-07-30 Gedare Bloom <giddyup44@yahoo.com> (diff)
downloadrtems-0aea082fe07cad72dd8120d307c22bf015378a79.tar.bz2
2010-07-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/fstat.c, libcsupport/src/rmdir.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_debug.c, libfs/src/imfs/imfs_getchild.c, libfs/src/imfs/memfile.c: Add IMFS_assert. Clean up and remove all checks which are redundant with system call layer. Formatting.
Diffstat (limited to 'cpukit/libcsupport/src/fstat.c')
-rw-r--r--cpukit/libcsupport/src/fstat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/fstat.c b/cpukit/libcsupport/src/fstat.c
index 8ec12e0637..0718c28d0d 100644
--- a/cpukit/libcsupport/src/fstat.c
+++ b/cpukit/libcsupport/src/fstat.c
@@ -32,14 +32,12 @@ int fstat(
/*
* Check to see if we were passed a valid pointer.
*/
-
if ( !sbuf )
rtems_set_errno_and_return_minus_one( EFAULT );
/*
* Now process the stat() request.
*/
-
iop = rtems_libio_iop( fd );
rtems_libio_check_fd( fd );
rtems_libio_check_is_open(iop);