From 302628bcad9a847869b407258928d693473e62ea Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 31 Jul 2018 15:19:47 -0400 Subject: [PATCH] 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 --- pimd/pim_igmp_join.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/pimd/pim_igmp_join.h b/pimd/pim_igmp_join.h index abee080064..88385bffba 100644 --- a/pimd/pim_igmp_join.h +++ b/pimd/pim_igmp_join.h @@ -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 */ -- 2.39.5