From 36cd27c1e3ebb3796fa486cddd36b43b7be4cb6b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Apr 2016 14:12:06 +0200 Subject: score: Simplify _Objects_Get_next() Remove unused location parameter. --- cpukit/libmisc/monitor/mon-manager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpukit/libmisc/monitor') diff --git a/cpukit/libmisc/monitor/mon-manager.c b/cpukit/libmisc/monitor/mon-manager.c index 99c28acc09..d165c4fccd 100644 --- a/cpukit/libmisc/monitor/mon-manager.c +++ b/cpukit/libmisc/monitor/mon-manager.c @@ -26,7 +26,6 @@ rtems_monitor_manager_next( Objects_Information *table = table_void; rtems_monitor_generic_t *copy; Objects_Control *object = 0; - Objects_Locations location; /* * When we are called, it must be local @@ -37,7 +36,7 @@ rtems_monitor_manager_next( goto done; #endif - object = _Objects_Get_next(table, *next_id, &location, next_id); + object = _Objects_Get_next(*next_id, table, next_id); if (object) { -- cgit v1.2.3