summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectallocate.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-17 13:32:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-17 13:32:13 +0000
commit05279b84b4a0f798b43ce1731784b7db577e772f (patch)
tree4079787381b3993b1f1ea00e4d9083563f8e1252 /cpukit/score/src/objectallocate.c
parent2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-05279b84b4a0f798b43ce1731784b7db577e772f.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/score/src/objectallocate.c')
-rw-r--r--cpukit/score/src/objectallocate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c
index 2bac4d3378..3a2d418b7a 100644
--- a/cpukit/score/src/objectallocate.c
+++ b/cpukit/score/src/objectallocate.c
@@ -46,23 +46,23 @@ Objects_Control *_Objects_Allocate(
* If the list is empty then we are out of objects and need to
* extend information base.
*/
-
+
if ( !the_object ) {
_Objects_Extend_information( information );
the_object = (Objects_Control *) _Chain_Get( &information->Inactive );
}
-
+
if ( the_object ) {
uint32_t block;
-
+
block = _Objects_Get_index( the_object->id ) -
_Objects_Get_index( information->minimum_id );
block /= information->allocation_size;
-
+
information->inactive_per_block[ block ]--;
information->inactive--;
}
}
-
+
return the_object;
}