From 8a2c47dc693f0b7d7c87cfab91e1dccefe733901 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 2 Jun 2006 20:00:57 +0000 Subject: 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. --- sys/arch/sparc/dev/tvtwo.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/arch/sparc/dev/tvtwo.c') diff --git a/sys/arch/sparc/dev/tvtwo.c b/sys/arch/sparc/dev/tvtwo.c index 4b8cffa8aef..5c38de21c9c 100644 --- a/sys/arch/sparc/dev/tvtwo.c +++ b/sys/arch/sparc/dev/tvtwo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tvtwo.c,v 1.11 2006/02/12 13:18:07 miod Exp $ */ +/* $OpenBSD: tvtwo.c,v 1.12 2006/06/02 20:00:54 miod Exp $ */ /* * Copyright (c) 2003, 2006, Miodrag Vallat. * All rights reserved. @@ -120,7 +120,6 @@ /* per-display variables */ struct tvtwo_softc { struct sunfb sc_sunfb; /* common base device */ - struct sbusdev sc_sd; /* sbus device */ struct rom_reg sc_phys; volatile u_int8_t *sc_m8; @@ -261,8 +260,6 @@ tvtwoattach(struct device *parent, struct device *self, void *args) fbwscons_console_init(&sc->sc_sunfb, -1); } - sbus_establish(&sc->sc_sd, &sc->sc_sunfb.sf_dev); - printf("%s: %dx%d\n", self->dv_xname, sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); -- cgit v1.2.3