summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2005-12-03 18:14:47 +0000
committermarius <marius@FreeBSD.org>2005-12-03 18:14:47 +0000
commitd6895fccf70afefda572e61a1e475ea4f15c3d24 (patch)
treec37dab17e95032222cd68bf6acd6954dfec8bbe3 /sys/sparc64
parent1ae8104ca4cc5d5cf71ea4c34ee21fa30a7e1932 (diff)
downloadFreeBSD-src-d6895fccf70afefda572e61a1e475ea4f15c3d24.zip
FreeBSD-src-d6895fccf70afefda572e61a1e475ea4f15c3d24.tar.gz
Remove unused sc_node from softc.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/central/central.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sparc64/central/central.c b/sys/sparc64/central/central.c
index aef9ed0..c078ef7 100644
--- a/sys/sparc64/central/central.c
+++ b/sys/sparc64/central/central.c
@@ -53,7 +53,6 @@ struct central_devinfo {
};
struct central_softc {
- phandle_t sc_node;
int sc_nrange;
struct sbus_ranges *sc_ranges;
};
@@ -131,7 +130,6 @@ central_attach(device_t dev)
sc = device_get_softc(dev);
node = nexus_get_node(dev);
- sc->sc_node = node;
sc->sc_nrange = OF_getprop_alloc(node, "ranges",
sizeof(*sc->sc_ranges), (void **)&sc->sc_ranges);
OpenPOWER on IntegriCloud