summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/lebuffer.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-02 20:00:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-02 20:00:57 +0000
commit8a2c47dc693f0b7d7c87cfab91e1dccefe733901 (patch)
treed26ab554038c5021bf138a9258249f28a85908b5 /sys/dev/sbus/lebuffer.c
parentd9686ca22229b75ee9f8fcd3b7aba51956453f73 (diff)
sbus_establish() and the associated linked list in the sbus softc is now only
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
Diffstat (limited to 'sys/dev/sbus/lebuffer.c')
-rw-r--r--sys/dev/sbus/lebuffer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/sbus/lebuffer.c b/sys/dev/sbus/lebuffer.c
index 483f20f0fc4..4e9397295fd 100644
--- a/sys/dev/sbus/lebuffer.c
+++ b/sys/dev/sbus/lebuffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lebuffer.c,v 1.5 2003/07/07 15:37:07 jason Exp $ */
+/* $OpenBSD: lebuffer.c,v 1.6 2006/06/02 20:00:56 miod Exp $ */
/* $NetBSD: lebuffer.c,v 1.12 2002/03/11 16:00:57 pk Exp $ */
/*-
@@ -130,8 +130,6 @@ lebufattach(struct device *parent, struct device *self, void *aux)
/* Clamp at parent's burst sizes */
sc->sc_burst &= sbusburst;
- sbus_establish(&sc->sc_sd, &sc->sc_dev);
-
/* Allocate a bus tag */
sbt = malloc(sizeof(*sbt), M_DEVBUF, M_NOWAIT);
if (sbt == NULL) {