Remove redundant initialization of rti; SLIST_FOREACH does that for

us.
This commit is contained in:
Robert Watson 2003-08-28 22:15:05 +00:00
parent 729d7ffbcf
commit f19389746e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119541

View file

@ -130,7 +130,6 @@ find_rti(struct ifnet *ifp)
{
struct router_info *rti;
rti = SLIST_FIRST(&router_info_head);
IGMP_PRINTF("[igmp.c, _find_rti] --> entering \n");
SLIST_FOREACH(rti, &router_info_head, rti_list) {
if (rti->rti_ifp == ifp) {