Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2023 15:12:49 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0fd15eb33548 - main - rrenumd: Remove useless return at the end of void function
Message-ID:  <202303021512.322FCn36038078@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=0fd15eb33548f8f9f3bb5aae25226b4dee402b4c

commit 0fd15eb33548f8f9f3bb5aae25226b4dee402b4c
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-03-02 14:59:07 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-02 15:01:39 +0000

    rrenumd: Remove useless return at the end of void function
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/656
---
 usr.sbin/rrenumd/rrenumd.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/usr.sbin/rrenumd/rrenumd.c b/usr.sbin/rrenumd/rrenumd.c
index dd08396b6421..2b9f45c4e6cb 100644
--- a/usr.sbin/rrenumd/rrenumd.c
+++ b/usr.sbin/rrenumd/rrenumd.c
@@ -348,8 +348,6 @@ sock6_open(struct flags *flags
 	}
 #endif /* IPSEC_POLICY_IPSEC */
 #endif /* IPSEC */
-
-	return;
 }
 
 static void
@@ -414,8 +412,6 @@ sock4_open(struct flags *flags
 	}
 #endif /* IPSEC_POLICY_IPSEC */
 #endif /* IPSEC */
-
-	return;
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303021512.322FCn36038078>