mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 17:25:09 +00:00
Remove redundant initialization of rti; SLIST_FOREACH does that for
us.
This commit is contained in:
parent
729d7ffbcf
commit
f19389746e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119541
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue