mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-15 22:49:16 +00:00
igmp: Drop unneeded initialization for *group in igmp_lookup_group()
It's assigned to the return value of igmp_lookfor_group() immediately. Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
91586bc6f6
commit
764bf251cd
@ -291,7 +291,7 @@ igmp_lookfor_group(struct netif *ifp, const ip4_addr_t *addr)
|
||||
struct igmp_group *
|
||||
igmp_lookup_group(struct netif *ifp, const ip4_addr_t *addr)
|
||||
{
|
||||
struct igmp_group *group = igmp_group_list;
|
||||
struct igmp_group *group;
|
||||
|
||||
/* Search if the group already exists */
|
||||
group = igmp_lookfor_group(ifp, addr);
|
||||
|
Loading…
Reference in New Issue
Block a user