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:
Donald Sharp 2018-07-31 15:19:47 -04:00
parent c936e76f3c
commit 302628bcad

View File

@ -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 */