Author: tuexen
Date: Thu Oct 28 19:00:45 2010
New Revision: 214475
URL: http://svn.freebsd.org/changeset/base/214475

Log:
  MFC r212707:
  Remove unused variable/assignment.

Modified:
  stable/8/sys/netinet/sctp_bsd_addr.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/netinet/sctp_bsd_addr.c
==============================================================================
--- stable/8/sys/netinet/sctp_bsd_addr.c        Thu Oct 28 18:59:09 2010        
(r214474)
+++ stable/8/sys/netinet/sctp_bsd_addr.c        Thu Oct 28 19:00:45 2010        
(r214475)
@@ -298,7 +298,6 @@ sctp_init_vrf_list(int vrfid)
 void
 sctp_addr_change(struct ifaddr *ifa, int cmd)
 {
-       struct sctp_ifa *ifap = NULL;
        uint32_t ifa_flags = 0;
 
        /*
@@ -339,7 +338,7 @@ sctp_addr_change(struct ifaddr *ifa, int
                return;
        }
        if (cmd == RTM_ADD) {
-               ifap = sctp_add_addr_to_vrf(SCTP_DEFAULT_VRFID, (void 
*)ifa->ifa_ifp,
+               (void)sctp_add_addr_to_vrf(SCTP_DEFAULT_VRFID, (void 
*)ifa->ifa_ifp,
                    ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type,
                    ifa->ifa_ifp->if_xname,
                    (void *)ifa, ifa->ifa_addr, ifa_flags, 1);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to