Skip to content

Commit

Permalink
Minor cosmetic changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwestphal committed Dec 13, 2015
1 parent 2b067a4 commit ff8445d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions rde_dual.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ safe_sum_uint32(uint32_t a, uint32_t b)
if (total >> 32)
return ((uint32_t )(~0));

return (total & 0xFFFFFFFF);
return ((uint32_t) total);
}

uint32_t
Expand Down Expand Up @@ -1119,11 +1119,8 @@ rde_check_reply(struct rde_nbr *nbr, struct rinfo *ri, int siareply)
}

reply_outstanding_remove(reply);
if (!TAILQ_EMPTY(&rn->rijk))
/* not last reply */
return;

rde_last_reply(rn);
if (TAILQ_EMPTY(&rn->rijk))
rde_last_reply(rn);
}

void
Expand Down

0 comments on commit ff8445d

Please sign in to comment.