From 2144d18754c03800997cf25585151ec66087bc52 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 10 Jun 2010 10:12:28 +0000 Subject: 2010-06-10 Sebastian Huber * libcsupport/src/unmount.c: Removed obsolete declarations. Fixed invalid memory free. --- cpukit/libcsupport/src/unmount.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'cpukit/libcsupport/src/unmount.c') diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c index 164cf6ef69..b535ea9b53 100644 --- a/cpukit/libcsupport/src/unmount.c +++ b/cpukit/libcsupport/src/unmount.c @@ -33,16 +33,6 @@ #include #include -/* - * Data structures and routines private to mount/unmount pair. - */ - -extern rtems_chain_control rtems_filesystem_mount_table_control; - -int search_mt_for_mount_point( - rtems_filesystem_location_info_t *location_of_mount_point -); - bool rtems_filesystem_nodes_equal( const rtems_filesystem_location_info_t *loc1, const rtems_filesystem_location_info_t *loc2 @@ -213,7 +203,6 @@ int unmount( */ rtems_filesystem_freenode( fs_mount_loc ); - free( (void*) mt_entry->target ); free( mt_entry ); return 0; -- cgit v1.2.3