git: b23e15e1c852 - main - dconschat: Remove useless return at the end of void function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 15:12:41 UTC
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