@@ -938,7 +938,7 @@ int MPIDI_PG_Close_VCs( void )
938
938
MPIR_FUNC_ENTER ;
939
939
940
940
while (pg ) {
941
- int i , inuse , n , i_start ;
941
+ int i , n , i_start ;
942
942
943
943
MPL_DBG_MSG_S (MPIDI_CH3_DBG_DISCONNECT ,VERBOSE ,"Closing vcs for pg %s" ,
944
944
(char * )pg -> id );
@@ -955,10 +955,6 @@ int MPIDI_PG_Close_VCs( void )
955
955
vc = & pg -> vct [i ];
956
956
/* If the VC is myself then skip the close message */
957
957
if (pg == MPIDI_Process .my_pg && i == MPIDI_Process .my_pg_rank ) {
958
- /* XXX DJG FIXME-MT should we be checking this? */
959
- if (MPIR_Object_get_ref (vc ) != 0 ) {
960
- MPIDI_PG_release_ref (pg , & inuse );
961
- }
962
958
continue ;
963
959
}
964
960
@@ -968,12 +964,6 @@ int MPIDI_PG_Close_VCs( void )
968
964
MPIR_ERR_CHECK (mpi_errno );
969
965
} else if (vc -> state == MPIDI_VC_STATE_INACTIVE ||
970
966
vc -> state == MPIDI_VC_STATE_MORIBUND ) {
971
- /* XXX DJG FIXME-MT should we be checking this? */
972
- if (MPIR_Object_get_ref (vc ) != 0 ) {
973
- /* FIXME: If the reference count for the vc is not 0,
974
- something is wrong */
975
- MPIDI_PG_release_ref (pg , & inuse );
976
- }
977
967
/* Inactive connections need to be marked
978
968
INACTIVE_CLOSED, so that if a connection request
979
969
comes in during the close protocol, we know to
0 commit comments