diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-24 14:47:46 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-27 15:41:58 +0100 |
commit | 8ba9026b954aa1e0f61e0a9a1145d87d9bbe5312 (patch) | |
tree | e584e78aeb8678f83bc89ce1fcd74935402425f9 /nhrpd/nhrp_peer.c | |
parent | ospfd: Cleanup set but unused variables (diff) | |
download | frr-8ba9026b954aa1e0f61e0a9a1145d87d9bbe5312.tar.xz frr-8ba9026b954aa1e0f61e0a9a1145d87d9bbe5312.zip |
nhrpd: Cleanup set but unused variables
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'nhrpd/nhrp_peer.c')
-rw-r--r-- | nhrpd/nhrp_peer.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nhrpd/nhrp_peer.c b/nhrpd/nhrp_peer.c index c5e985cda..2d6c26358 100644 --- a/nhrpd/nhrp_peer.c +++ b/nhrpd/nhrp_peer.c @@ -755,10 +755,9 @@ static void nhrp_peer_forward(struct nhrp_peer *p, if ((type == NHRP_EXTENSION_REVERSE_TRANSIT_NHS) == (packet_types[hdr->type].type == PACKET_REPLY)) { /* Check NHS list for forwarding loop */ - while ((cie = nhrp_cie_pull(&extpl, pp->hdr, - &cie_nbma, - &cie_protocol)) - != NULL) { + while (nhrp_cie_pull(&extpl, pp->hdr, + &cie_nbma, + &cie_protocol) != NULL) { if (sockunion_same(&p->vc->remote.nbma, &cie_nbma)) goto err; |