aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Mitchell <ehem_freebsd@m5p.com>2021-08-30 07:26:45 +0000
committerKa Ho Ng <khng@FreeBSD.org>2021-08-30 07:31:04 +0000
commite76c0e4f4563029375dac90f1e1b3c6e82e157f9 (patch)
treeca53c2763ed8d342e214783f9b977bf9eda69a29
parent13914e51eb8de6fe9f627c9c1d48c09880b2607e (diff)
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
-rw-r--r--usr.sbin/bhyve/pci_nvme.c2
-rw-r--r--usr.sbin/bhyve/pci_virtio_scsi.c2
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));