Changeset 1d63ebb in rtems


Ignore:
Timestamp:
Jun 22, 2006, 9:56:13 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f3333d1
Parents:
026e4793
Message:

2006-06-22 Joel Sherrill <joel@…>

PR 1101/rtems

  • libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c, score/src/coremutex.c: Remove dead code.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r026e4793 r1d63ebb  
     12006-06-22      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 1101/rtems
     4        * libcsupport/src/base_fs.c, rtems/src/taskcreate.c, rtems/src/tasks.c,
     5        score/src/coremutex.c: Remove dead code.
     6
    172006-06-18      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/libcsupport/src/base_fs.c

    r026e4793 r1d63ebb  
    4444{
    4545#if !defined(RTEMS_UNIX)
    46 #if 0
    47   int                                   i;
    48 #endif
    4946  int                                   status;
    5047  rtems_filesystem_mount_table_entry_t *entry;
     
    125122
    126123  /*
    127    *  This code if if'ed 0 out because you can't mount another
    128    *  filesystem properly until the mount point it will be
    129    *  mounted onto is created.  Moreover, if it is going to
     124   *  You can't mount another filesystem properly until the mount point
     125   *  it will be mounted onto is created.  Moreover, if it is going to
    130126   *  use a device, then it is REALLY unfair to attempt this
    131    *  before device drivers are initialized.
     127   *  before device drivers are initialized.  So we return via a base
     128   *  filesystem image and nothing auto-mounted at this point.
    132129   */
    133130
    134 #if 0
    135   /*
    136    *  Now if there are other filesystems to mount, go for it.
    137    */
    138 
    139   for ( i=1 ; i < rtems_filesystem_mount_table_size ; i++ ) {
    140     mt = &rtems_filesystem_mount_table[0];
    141 
    142     status = mount(
    143        &entry, mt->fs_ops, mt->fsoptions, mt->device, mt->mount_point );
    144 
    145     if ( status == -1 )
    146       rtems_fatal_error_occurred( 0xABCD0003 );
    147   }
    148131#endif
    149132#endif
  • cpukit/rtems/src/taskcreate.c

    r026e4793 r1d63ebb  
    8888   */
    8989
    90 #if 0
    91   if ( !_Stack_Is_enough( stack_size ) )
    92     return RTEMS_INVALID_SIZE;
    93 #endif
    94 
    9590  /*
    9691   *  Fix the attribute set to match the attributes which
  • cpukit/rtems/src/tasks.c

    r026e4793 r1d63ebb  
    257257   */
    258258
    259 #if 0
    260   if ( user_tasks == NULL || number_of_initialization_tasks == 0 )
    261     _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, TRUE, RTEMS_TOO_MANY );
    262 #endif
    263 
    264259  _Objects_Initialize_information(
    265260    &_RTEMS_tasks_Information, /* object information table */
  • cpukit/score/src/coremutex.c

    r026e4793 r1d63ebb  
    5959  the_mutex->blocked_count = 0;
    6060
    61 #if 0
    62   if ( !the_mutex_attributes->only_owner_release &&
    63        the_mutex_attributes->nesting_allowed ) {
    64     _Internal_error_Occurred(
    65       INTERNAL_ERROR_CORE,
    66       TRUE,
    67       INTERNAL_ERROR_BAD_ATTRIBUTES
    68     );
    69   }
    70 #endif
    71 
    7261  if ( initial_lock == CORE_MUTEX_LOCKED ) {
    7362    the_mutex->nest_count = 1;
Note: See TracChangeset for help on using the changeset viewer.