From 7f03a6f6d2334a33a5d94a612941e5ceb5832fc7 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 31 Mar 2017 17:00:26 -0400 Subject: [PATCH] nhrpd: Fix value set but never used. The nbma_addr value is set but never used. Signed-off-by: Donald Sharp --- nhrpd/nhrp_peer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/nhrpd/nhrp_peer.c b/nhrpd/nhrp_peer.c index 73b6aaccf6..4c1d97a489 100644 --- a/nhrpd/nhrp_peer.c +++ b/nhrpd/nhrp_peer.c @@ -425,7 +425,6 @@ static void nhrp_handle_registration_request(struct nhrp_packet_parser *p) nbma_natoa = NULL; if (natted) { nbma_natoa = nbma_addr; - nbma_addr = &p->peer->vc->remote.nbma; } holdtime = htons(cie->holding_time);