2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>

* rtems/src/regiondelete.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/regionreturnsegment.c: Do not initialize return status to
	RTEMS_INTERNAL_ERROR.
This commit is contained in:
Joel Sherrill
2009-09-28 22:59:21 +00:00
parent 41ee2897bd
commit af20cd903b
8 changed files with 15 additions and 7 deletions

View File

@@ -1,3 +1,11 @@
2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/regiondelete.c, rtems/src/regiongetfreeinfo.c,
rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
rtems/src/regionreturnsegment.c: Do not initialize return status to
RTEMS_INTERNAL_ERROR.
2009-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/pci.h: Revert extern inline patch.

View File

@@ -47,7 +47,7 @@ rtems_status_code rtems_region_delete(
)
{
Objects_Locations location;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
rtems_status_code return_status;
register Region_Control *the_region;
_RTEMS_Lock_allocator();

View File

@@ -50,7 +50,7 @@ rtems_status_code rtems_region_get_free_information(
)
{
Objects_Locations location;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
rtems_status_code return_status;
register Region_Control *the_region;
if ( !the_info )

View File

@@ -48,7 +48,7 @@ rtems_status_code rtems_region_get_information(
)
{
Objects_Locations location;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
rtems_status_code return_status;
register Region_Control *the_region;
if ( !the_info )

View File

@@ -55,7 +55,7 @@ rtems_status_code rtems_region_get_segment(
{
Thread_Control *executing;
Objects_Locations location;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
rtems_status_code return_status;
register Region_Control *the_region;
void *the_segment;

View File

@@ -49,7 +49,7 @@ rtems_status_code rtems_region_get_segment_size(
)
{
Objects_Locations location;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
rtems_status_code return_status;
register Region_Control *the_region;
if ( !segment )

View File

@@ -53,7 +53,7 @@ rtems_status_code rtems_region_resize_segment(
uintptr_t avail_size;
Objects_Locations location;
uintptr_t osize;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
rtems_status_code return_status;
Heap_Resize_status status;
register Region_Control *the_region;

View File

@@ -55,7 +55,7 @@ rtems_status_code rtems_region_return_segment(
)
{
Objects_Locations location;
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
rtems_status_code return_status;
#ifdef RTEMS_REGION_FREE_SHRED_PATTERN
uint32_t size;
#endif