diff options
Diffstat (limited to 'cpukit/libcsupport/src/unlink.c')
-rw-r--r-- | cpukit/libcsupport/src/unlink.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c index 6a6091575b..9817ad9611 100644 --- a/cpukit/libcsupport/src/unlink.c +++ b/cpukit/libcsupport/src/unlink.c @@ -34,11 +34,9 @@ int unlink( const char *path ) &parentloc, parent_eval_flags ); + const rtems_filesystem_operations_table *ops = currentloc->mt_entry->ops; - rv = (*currentloc->ops->rmnod_h)( - &parentloc, - currentloc - ); + rv = (*ops->rmnod_h)( &parentloc, currentloc ); rtems_filesystem_eval_path_cleanup_with_parent( &ctx, &parentloc ); |