summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-08-07 17:23:45 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-08-07 17:23:45 +0000
commit8f732676dad5efbc11566272536d4fd0b0d1b968 (patch)
tree2ec9ef19070863ea92bc3520f50f91664221b99f /sys/arch/sparc
parent8e34404634165d67655661aed894b4901950786a (diff)
KNF (parenthesized returns)
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/qe.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/qe.c b/sys/arch/sparc/dev/qe.c
index 4b9ca2b56da..fef31fdcb50 100644
--- a/sys/arch/sparc/dev/qe.c
+++ b/sys/arch/sparc/dev/qe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qe.c,v 1.22 2002/04/30 01:12:29 art Exp $ */
+/* $OpenBSD: qe.c,v 1.23 2002/08/07 17:23:44 jason Exp $ */
/*
* Copyright (c) 1998, 2000 Jason L. Wright.
@@ -311,14 +311,14 @@ qeintr(v)
qecstat = sc->sc_qr->stat >> (4 * sc->sc_channel);
if ((qecstat & 0xf) == 0)
- return r;
+ return (r);
qestat = sc->sc_cr->stat;
if (qestat & QE_CR_STAT_ALLERRORS) {
r |= qe_eint(sc, qestat);
if (r == -1)
- return 1;
+ return (1);
}
if (qestat & QE_CR_STAT_TXIRQ)
@@ -406,7 +406,7 @@ qe_rint(sc)
sc->sc_last_rd = bix;
- return 1;
+ return (1);
}
/*
@@ -575,10 +575,10 @@ qe_eint(sc, why)
if (rst) {
printf("%s: resetting...\n", sc->sc_dev.dv_xname);
qereset(sc);
- return -1;
+ return (-1);
}
- return r;
+ return (r);
}
int
@@ -677,13 +677,13 @@ qeioctl(ifp, cmd, data)
default:
if ((error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data)) > 0) {
splx(s);
- return error;
+ return (error);
}
error = EINVAL;
break;
}
splx(s);
- return error;
+ return (error);
}
void