Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2021 07:32:05 GMT
From:      Ka Ho Ng <khng@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e76c0e4f4563 - main - bhyve: Nuke double-semicolons
Message-ID:  <202108300732.17U7W5ow019617@gitrepo.freebsd.org>

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

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

commit e76c0e4f4563029375dac90f1e1b3c6e82e157f9
Author:     Elliott Mitchell <ehem_freebsd@m5p.com>
AuthorDate: 2021-08-30 07:26:45 +0000
Commit:     Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2021-08-30 07:31:04 +0000

    bhyve: Nuke double-semicolons
    
    A distinct number of double-semicolons ended up in bhyve. Take a pass at
    getting rid of many of these harmless typos.
    
    MFC after:      3 days
---
 usr.sbin/bhyve/pci_nvme.c        | 2 +-
 usr.sbin/bhyve/pci_virtio_scsi.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
index fa316fa285db..034c9409cea3 100644
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -1825,7 +1825,7 @@ pci_nvme_release_ioreq(struct pci_nvme_softc *sc, struct pci_nvme_ioreq *req)
 static struct pci_nvme_ioreq *
 pci_nvme_get_ioreq(struct pci_nvme_softc *sc)
 {
-	struct pci_nvme_ioreq *req = NULL;;
+	struct pci_nvme_ioreq *req = NULL;
 
 	sem_wait(&sc->iosemlock);
 	pthread_mutex_lock(&sc->mtx);
diff --git a/usr.sbin/bhyve/pci_virtio_scsi.c b/usr.sbin/bhyve/pci_virtio_scsi.c
index 37eba90fa2bc..f4a701c0e25e 100644
--- a/usr.sbin/bhyve/pci_virtio_scsi.c
+++ b/usr.sbin/bhyve/pci_virtio_scsi.c
@@ -682,7 +682,7 @@ static int
 pci_vtscsi_init(struct vmctx *ctx, struct pci_devinst *pi, nvlist_t *nvl)
 {
 	struct pci_vtscsi_softc *sc;
-	const char *devname, *value;;
+	const char *devname, *value;
 	int i;
 
 	sc = calloc(1, sizeof(struct pci_vtscsi_softc));



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