diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:56:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-06-22 21:56:13 +0000 |
commit | 1d63ebb9b99e548931dfed19db95faf68a9d1923 (patch) | |
tree | f374c681f196011f3830c93302de27497dce6d35 /cpukit/libcsupport/src/base_fs.c | |
parent | 2006-06-22 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-1d63ebb9b99e548931dfed19db95faf68a9d1923.tar.bz2 |
2006-06-22 Joel Sherrill <joel@OARcorp.com>
PR 1101/rtems
* libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c,
score/src/coremutex.c: Remove dead code.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/base_fs.c | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/cpukit/libcsupport/src/base_fs.c b/cpukit/libcsupport/src/base_fs.c index dedafc8d1c..d8e2821c46 100644 --- a/cpukit/libcsupport/src/base_fs.c +++ b/cpukit/libcsupport/src/base_fs.c @@ -43,9 +43,6 @@ rtems_user_env_t * rtems_current_user_env = &rtems_global_user_env; void rtems_filesystem_initialize( void ) { #if !defined(RTEMS_UNIX) -#if 0 - int i; -#endif int status; rtems_filesystem_mount_table_entry_t *entry; rtems_filesystem_mount_table_t *mt; @@ -124,27 +121,13 @@ void rtems_filesystem_initialize( void ) rtems_fatal_error_occurred( 0xABCD0003 ); /* - * This code if if'ed 0 out because you can't mount another - * filesystem properly until the mount point it will be - * mounted onto is created. Moreover, if it is going to + * You can't mount another filesystem properly until the mount point + * it will be mounted onto is created. Moreover, if it is going to * use a device, then it is REALLY unfair to attempt this - * before device drivers are initialized. - */ - -#if 0 - /* - * Now if there are other filesystems to mount, go for it. + * before device drivers are initialized. So we return via a base + * filesystem image and nothing auto-mounted at this point. */ - for ( i=1 ; i < rtems_filesystem_mount_table_size ; i++ ) { - mt = &rtems_filesystem_mount_table[0]; - - status = mount( - &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point ); - - if ( status == -1 ) - rtems_fatal_error_occurred( 0xABCD0003 ); - } #endif #endif } |