Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2023 15:12:41 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: b23e15e1c852 - main - dconschat: Remove useless return at the end of void function
Message-ID:  <202303021512.322FCfTc037912@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=b23e15e1c8525880f3b0068725831d185b1928b6

commit b23e15e1c8525880f3b0068725831d185b1928b6
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-03-02 14:59:06 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-02 14:59:11 +0000

    dconschat: 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/dconschat/dconschat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/usr.sbin/dconschat/dconschat.c b/usr.sbin/dconschat/dconschat.c
index af7f8f650d71..0896280d515f 100644
--- a/usr.sbin/dconschat/dconschat.c
+++ b/usr.sbin/dconschat/dconschat.c
@@ -681,7 +681,6 @@ dconschat_init_socket(struct dcons_state *dc, int port, char *host, int sport)
 	error = kevent(dc->kq, &kev, 1, NULL, 0, &dc->to);
 	if (error < 0)
 		err(1, "kevent");
-	return;
 }
 
 static int



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