Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2023 17:05:29 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 71a21ad48915 - main - bhyve: Remove useless return at the end of void function
Message-ID:  <202303011705.321H5To3051855@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=71a21ad4891504ad82f58c3169aa634968502682

commit 71a21ad4891504ad82f58c3169aa634968502682
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-02-23 06:36:13 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-03-01 17:04:41 +0000

    bhyve: Remove useless return at the end of void function
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
---
 usr.sbin/bhyve/pci_fbuf.c         | 2 --
 usr.sbin/bhyve/pci_virtio_input.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/usr.sbin/bhyve/pci_fbuf.c b/usr.sbin/bhyve/pci_fbuf.c
index 91215a124c59..fd3305e965ad 100644
--- a/usr.sbin/bhyve/pci_fbuf.c
+++ b/usr.sbin/bhyve/pci_fbuf.c
@@ -365,8 +365,6 @@ pci_fbuf_render(struct bhyvegc *gc, void *arg)
 		sc->gc_width = sc->memregs.width;
 		sc->gc_height = sc->memregs.height;
 	}
-
-	return;
 }
 
 static int
diff --git a/usr.sbin/bhyve/pci_virtio_input.c b/usr.sbin/bhyve/pci_virtio_input.c
index 00ec86a70db0..3f661aff8079 100644
--- a/usr.sbin/bhyve/pci_virtio_input.c
+++ b/usr.sbin/bhyve/pci_virtio_input.c
@@ -567,8 +567,6 @@ done:
 	/* clear queue and send interrupt to guest */
 	vtinput_eventqueue_clear(queue);
 	vq_endchains(vq, 1);
-
-	return;
 }
 
 static int



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