diff options
author | marius <marius@FreeBSD.org> | 2007-06-17 16:44:08 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-06-17 16:44:08 +0000 |
commit | c8a8a74641d5d3345c04b4940af4ab081ed984ca (patch) | |
tree | ff11ada40bae7a457ae9c3b9cd7be98ee191798f /sys/sparc64/pci | |
parent | 3df4a89c178cc077a476abb01253c7d687f2df81 (diff) | |
download | FreeBSD-src-c8a8a74641d5d3345c04b4940af4ab081ed984ca.zip FreeBSD-src-c8a8a74641d5d3345c04b4940af4ab081ed984ca.tar.gz |
Remove unused softc.
Diffstat (limited to 'sys/sparc64/pci')
-rw-r--r-- | sys/sparc64/pci/ofw_pcibus.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/sparc64/pci/ofw_pcibus.c b/sys/sparc64/pci/ofw_pcibus.c index 8858373..331272e 100644 --- a/sys/sparc64/pci/ofw_pcibus.c +++ b/sys/sparc64/pci/ofw_pcibus.c @@ -96,14 +96,10 @@ struct ofw_pcibus_devinfo { struct ofw_bus_devinfo opd_obdinfo; }; -struct ofw_pcibus_softc { - phandle_t ops_node; -}; - static devclass_t pci_devclass; -DEFINE_CLASS_1(pci, ofw_pcibus_driver, ofw_pcibus_methods, - sizeof(struct ofw_pcibus_softc), pci_driver); +DEFINE_CLASS_1(pci, ofw_pcibus_driver, ofw_pcibus_methods, 1 /* no softc */, + pci_driver); DRIVER_MODULE(ofw_pcibus, pcib, ofw_pcibus_driver, pci_devclass, 0, 0); MODULE_VERSION(ofw_pcibus, 1); MODULE_DEPEND(ofw_pcibus, pci, 1, 1, 1); |