summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/shmdr/send.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-18 17:15:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-18 17:15:51 +0000
commit534c8936341e980afc4104471e19819e32379df2 (patch)
tree128a15a2a3efadc2156be37a209390b4fff3f2eb /c/src/libchip/shmdr/send.c
parent2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-534c8936341e980afc4104471e19819e32379df2.tar.bz2
2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/shmdr/dump.c, libchip/shmdr/init.c, libchip/shmdr/send.c, libchip/shmdr/shm_driver.h: Cleanup and remove variables which duplicated data.
Diffstat (limited to 'c/src/libchip/shmdr/send.c')
-rw-r--r--c/src/libchip/shmdr/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/libchip/shmdr/send.c b/c/src/libchip/shmdr/send.c
index bdfd272b32..d28c6bfeb3 100644
--- a/c/src/libchip/shmdr/send.c
+++ b/c/src/libchip/shmdr/send.c
@@ -44,8 +44,8 @@ rtems_mpci_entry Shm_Send_packet(
(*Shm_Configuration->cause_intr)( node );
}
else {
- for( nnum = SHM_FIRST_NODE ; nnum <= Shm_Maximum_nodes ; nnum++ )
- if ( Shm_Local_node != nnum ) {
+ for( nnum = SHM_FIRST_NODE ; nnum <= SHM_MAXIMUM_NODES ; nnum++ )
+ if ( _Configuration_MP_table->node != nnum ) {
tmp_ecb = Shm_Allocate_envelope();
if ( !tmp_ecb )
rtems_fatal_error_occurred( SHM_NO_FREE_PKTS );