Remove unused sc_node from softc.

This commit is contained in:
Marius Strobl 2005-12-03 18:14:47 +00:00
parent 9ec0f71c35
commit 2c5bc54014
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153058

View File

@ -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);