mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
Remove unused sc_node from softc.
This commit is contained in:
parent
9ec0f71c35
commit
2c5bc54014
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153058
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user