summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorgene <gene@cvs.openbsd.org>1997-04-24 00:54:35 +0000
committergene <gene@cvs.openbsd.org>1997-04-24 00:54:35 +0000
commit7ef9074aa6565823fae54dbce57d77748f322671 (patch)
tree5335f80a2d2a9f3bdd419996850ccabbbb99391d /sys/arch/mac68k
parent0afd3b94ff39da61cc76ff1e1b6bd1b454e20374 (diff)
From Scott Reynolds:
>Clean up unused code, KNF bus_probe()
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index c3384b35ce3..284a2868dd0 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.38 1997/04/14 18:47:59 gene Exp $ */
+/* $OpenBSD: machdep.c,v 1.39 1997/04/24 00:54:34 gene Exp $ */
/* $NetBSD: machdep.c,v 1.134 1997/02/14 06:15:30 scottr Exp $ */
/*
@@ -2868,14 +2868,9 @@ bus_probe(t, bsh, offset, sz)
int i;
label_t faultbuf;
-#ifdef lint
- i = *addr;
- if (i)
- return (0);
-#endif
- nofault = (int *) &faultbuf;
- if (setjmp((label_t *) nofault)) {
- nofault = (int *) 0;
+ nofault = (int *)&faultbuf;
+ if (setjmp((label_t *)nofault)) {
+ nofault = (int *)0;
return (0);
}
@@ -2895,10 +2890,10 @@ bus_probe(t, bsh, offset, sz)
#ifdef DIAGNOSTIC
printf("bus_probe: unsupported data size %d\n", sz);
#endif
- nofault = (int *) 0;
+ nofault = (int *)0;
return (0);
}
- nofault = (int *) 0;
+ nofault = (int *)0;
return (1);
}