diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-31 21:19:47 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-02 16:09:09 +0200 |
commit | 302628bcad9a847869b407258928d693473e62ea (patch) | |
tree | 4231fa7c18b7c9adb43bfe748f86b6f646441311 /pimd | |
parent | pimd: pim_socket_join_source is only called from one place (diff) | |
download | frr-302628bcad9a847869b407258928d693473e62ea.tar.xz frr-302628bcad9a847869b407258928d693473e62ea.zip |
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>
Diffstat (limited to 'pimd')
-rw-r--r-- | pimd/pim_igmp_join.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_igmp_join.h b/pimd/pim_igmp_join.h index abee08006..88385bffb 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 */ |