summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-19 14:12:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-21 07:29:40 +0200
commit36cd27c1e3ebb3796fa486cddd36b43b7be4cb6b (patch)
treeef589792781b889c8bf8bee1e46c13815770a575 /cpukit/libmisc/monitor
parentscore: Simplify _Objects_Initialize_information() (diff)
downloadrtems-36cd27c1e3ebb3796fa486cddd36b43b7be4cb6b.tar.bz2
score: Simplify _Objects_Get_next()
Remove unused location parameter.
Diffstat (limited to 'cpukit/libmisc/monitor')
-rw-r--r--cpukit/libmisc/monitor/mon-manager.c3
1 files changed, 1 insertions, 2 deletions
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)
{