From: Jacob Hansen <[email protected]>
---
cpukit/score/include/rtems/score/threadqimpl.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h
b/cpukit/score/include/rtems/score/threadqimpl.h
index 574221c..975221c 100644
--- a/cpukit/score/include/rtems/score/threadqimpl.h
+++ b/cpukit/score/include/rtems/score/threadqimpl.h
@@ -1140,9 +1140,7 @@ typedef struct {
#define THREAD_QUEUE_OBJECT_ASSERT( object_type, wait_queue_member ) \
RTEMS_STATIC_ASSERT( \
offsetof( object_type, wait_queue_member ) \
- == offsetof( Thread_queue_Object, Wait_queue ) \
- && ( &( ( (object_type *) 0 )->wait_queue_member ) \
- == ( &( (Thread_queue_Object *) 0 )->Wait_queue ) ), \
+ == offsetof( Thread_queue_Object, Wait_queue ), \
object_type \
)
--
2.7.4
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel