aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-02-23 06:36:13 +0000
committerEd Maste <emaste@FreeBSD.org>2023-03-01 17:04:41 +0000
commit71a21ad4891504ad82f58c3169aa634968502682 (patch)
treebd881f9ce7b0e7b35d2f37fdd76da7b3097e6280
parent956171d5bc2945bb8740ca8d3c2fcb6c5cc76954 (diff)
downloadsrc-71a21ad4891504ad82f58c3169aa634968502682.tar.gz
src-71a21ad4891504ad82f58c3169aa634968502682.zip
bhyve: Remove useless return at the end of void function
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
-rw-r--r--usr.sbin/bhyve/pci_fbuf.c2
-rw-r--r--usr.sbin/bhyve/pci_virtio_input.c2
2 files changed, 0 insertions, 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