summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unlink.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-01 17:47:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-01 17:47:48 +0000
commit0d923d9705d89c78190dea017ccbab37e5724fce (patch)
tree7d9ab0ba1956687d50cf1a4050ae2f8e35bc1d30 /cpukit/libcsupport/src/unlink.c
parent2010-07-01 Bharath Suri <bharath.s.jois@gmail.com> (diff)
downloadrtems-0d923d9705d89c78190dea017ccbab37e5724fce.tar.bz2
2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/_rename_r.c, libcsupport/src/getdents.c, libcsupport/src/unlink.c, libcsupport/src/utime.c, libcsupport/src/writev.c: Remove remaining checks for missing handlers.
Diffstat (limited to 'cpukit/libcsupport/src/unlink.c')
-rw-r--r--cpukit/libcsupport/src/unlink.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c
index caaf9606cc..bb28959b6d 100644
--- a/cpukit/libcsupport/src/unlink.c
+++ b/cpukit/libcsupport/src/unlink.c
@@ -74,13 +74,6 @@ int unlink(
rtems_set_errno_and_return_minus_one( EISDIR );
}
- if ( !loc.ops->unlink_h ) {
- rtems_filesystem_freenode( &loc );
- if ( free_parentloc )
- rtems_filesystem_freenode( &parentloc );
- rtems_set_errno_and_return_minus_one( ENOTSUP );
- }
-
result = (*loc.ops->unlink_h)( &parentloc, &loc );
rtems_filesystem_freenode( &loc );