[rtems commit] mpci: Fix warning

Sebastian Huber sebh at rtems.org
Tue Jan 26 09:30:41 UTC 2016


Module:    rtems
Branch:    master
Commit:    addb6000f8d446acc0dc3a3b111993f197c497bd
Changeset: http://git.rtems.org/rtems/commit/?id=addb6000f8d446acc0dc3a3b111993f197c497bd

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jan 26 10:29:28 2016 +0100

mpci: Fix warning

Assignment is superfluous due to later call to _Thread_queue_Enqueue().

---

 cpukit/score/src/mpci.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index 3a63efb..5944da3 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -201,8 +201,6 @@ uint32_t   _MPCI_Send_request_packet (
 
   executing->Wait.id = the_packet->id;
 
-  executing->Wait.queue = &_MPCI_Remote_blocked_threads;
-
   _Thread_Disable_dispatch();
 
     (*_MPCI_table->send_packet)( destination, the_packet );




More information about the vc mailing list