[rtems commit] rtems: Remove EVENT_SETS_NONE_PENDING
Sebastian Huber
sebh at rtems.org
Mon Nov 23 09:42:22 UTC 2020
Module: rtems
Branch: master
Commit: acf1a9870dadec36a28cc888c7ede72e9c029915
Changeset: http://git.rtems.org/rtems/commit/?id=acf1a9870dadec36a28cc888c7ede72e9c029915
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 14 11:02:25 2020 +0200
rtems: Remove EVENT_SETS_NONE_PENDING
This define was only used in one place.
---
cpukit/include/rtems/rtems/eventimpl.h | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/cpukit/include/rtems/rtems/eventimpl.h b/cpukit/include/rtems/rtems/eventimpl.h
index 9ccee0a..c65c202 100644
--- a/cpukit/include/rtems/rtems/eventimpl.h
+++ b/cpukit/include/rtems/rtems/eventimpl.h
@@ -32,12 +32,6 @@ extern "C" {
* @{
*/
-/**
- * The following constant is the value of an event set which
- * has no events pending.
- */
-#define EVENT_SETS_NONE_PENDING 0
-
rtems_status_code _Event_Seize(
rtems_event_set event_in,
rtems_option option_set,
@@ -68,7 +62,7 @@ void _Event_Timeout(
RTEMS_INLINE_ROUTINE void _Event_Initialize( Event_Control *event )
{
- event->pending_events = EVENT_SETS_NONE_PENDING;
+ event->pending_events = 0;
}
/**
More information about the vc
mailing list