mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:29:47 +00:00
pimd: Only need 1 return from a function
When there is a return at the end of a function, there is no need for another one immediately after it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
c936e76f3c
commit
302628bcad
@ -60,8 +60,6 @@ static int pim_igmp_join_source(int fd, ifindex_t ifindex,
|
||||
|
||||
return setsockopt(fd, SOL_IP, MCAST_JOIN_SOURCE_GROUP, &req,
|
||||
sizeof(req));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* PIM_IGMP_JOIN_H */
|
||||
|
Loading…
Reference in New Issue
Block a user