summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-14 23:51:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-14 23:51:19 +0000
commit29ac5fa4d26527b019bfeb1735aa8ea424a9c506 (patch)
tree1f0d8f98556cfa7fc25657467d37cc57e03cbabf /sys/dev/pci
parentda02299fe9286e4cc47e7dc45fe5e187014fa62b (diff)
KNF
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/hifn7751.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index d332860ea7d..e8bd3575d12 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.66 2001/06/12 15:40:31 niklas Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.67 2001/06/14 23:51:18 deraadt Exp $ */
/*
* Invertex AEON / Hi/fn 7751 driver
@@ -188,7 +188,7 @@ hifn_attach(parent, self, aux)
printf(": can't alloc dma buffer\n");
bus_dmamap_destroy(sc->sc_dmat, sc->sc_dmamap);
goto fail_io1;
- }
+ }
if (bus_dmamem_map(sc->sc_dmat, sc->sc_dmamap->dm_segs,
sc->sc_dmamap->dm_nsegs, sizeof(*sc->sc_dma), &kva,
BUS_DMA_NOWAIT)) {
@@ -1259,9 +1259,9 @@ hifn_newsession(sidp, cri)
if (cry)
return (EINVAL);
cry = 1;
- }
- else
+ } else
return (EINVAL);
+
}
if (mac == 0 && cry == 0)
return (EINVAL);