Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2021 17:24:26 GMT
From:      Ka Ho Ng <khng@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 24ef34a07856 - stable/13 - bhyve: Nuke double-semicolons
Message-ID:  <202109031724.183HOQil015262@gitrepo.freebsd.org>

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

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

commit 24ef34a07856ad21238647ca80235fafab3ae1dc
Author:     Elliott Mitchell <ehem_freebsd@m5p.com>
AuthorDate: 2021-08-30 07:26:45 +0000
Commit:     Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2021-09-03 17:21:10 +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.
    
    (cherry picked from commit e76c0e4f4563029375dac90f1e1b3c6e82e157f9)
---
 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 9b3fece43fde..fdf4a46148c9 100644
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -1827,7 +1827,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?202109031724.183HOQil015262>