The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c7761ca93e9f6be51db2a8632d6697253e93f6c3

commit c7761ca93e9f6be51db2a8632d6697253e93f6c3
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-04-05 02:39:25 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2022-04-05 04:30:52 +0000

    pim6_input: eliminate write only variable rc
    
    Sponsored by:           Netflix
---
 sys/netinet6/ip6_mroute.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index 05324dfb94bf..bbc021277fae 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -1793,7 +1793,6 @@ pim6_input(struct mbuf *m, int off, int proto, void *arg 
__unused)
                struct mbuf *mcp;
                struct ip6_hdr *eip6;
                u_int32_t *reghdr;
-               int rc;
 #ifdef MRT6DEBUG
                char ip6bufs[INET6_ADDRSTRLEN], ip6bufd[INET6_ADDRSTRLEN];
 #endif
@@ -1871,7 +1870,7 @@ pim6_input(struct mbuf *m, int off, int proto, void *arg 
__unused)
                    ip6_sprintf(ip6bufs, &eip6->ip6_src),
                    ip6_sprintf(ip6bufd, &eip6->ip6_dst), reg_mif_num);
 
-               rc = if_simloop(mif6table[reg_mif_num].m6_ifp, m,
+               if_simloop(mif6table[reg_mif_num].m6_ifp, m,
                                dst.sin6_family, 0);
 
                /* prepare the register head to send to the mrouting daemon */

Reply via email to