From 1c2d17839760b0d8ad5a02e4c84bd8f99fac4e98 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 25 Nov 2018 20:15:26 +0100 Subject: score: Remove Objects_Information::maximum This information is already present in Objects_Information::maximum_id. Add and use _Objects_Get_maximum_index(). Update #3621. --- cpukit/score/src/objectgetinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/objectgetinfo.c') diff --git a/cpukit/score/src/objectgetinfo.c b/cpukit/score/src/objectgetinfo.c index 6ba561d368..c927d1c944 100644 --- a/cpukit/score/src/objectgetinfo.c +++ b/cpukit/score/src/objectgetinfo.c @@ -55,7 +55,7 @@ Objects_Information *_Objects_Get_information( * pointer. */ #if !defined(RTEMS_MULTIPROCESSING) - if ( info->maximum == 0 ) + if ( _Objects_Get_maximum_index( info ) == 0 ) return NULL; #endif -- cgit v1.2.3