diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-05-09 21:26:43 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-09 21:26:43 +0000 |
commit | 9199ef40ea66def086ed65645f17b7d73a666774 (patch) | |
tree | a6343d0c7327ff69d8d10780a30ec96184e1493e | |
parent | ca7c2d2eedf690ae0c780451f53d9ce36bb2c337 (diff) | |
download | src-9199ef40ea66def086ed65645f17b7d73a666774.tar.gz src-9199ef40ea66def086ed65645f17b7d73a666774.zip |
pst: Remove unused devclass arguments to DRIVER_MODULE.
-rw-r--r-- | sys/dev/pst/pst-pci.c | 4 | ||||
-rw-r--r-- | sys/dev/pst/pst-raid.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pst/pst-pci.c b/sys/dev/pst/pst-pci.c index 631f3f64cae1..e51070c65923 100644 --- a/sys/dev/pst/pst-pci.c +++ b/sys/dev/pst/pst-pci.c @@ -129,6 +129,4 @@ static driver_t pst_pci_driver = { sizeof(struct iop_softc), }; -static devclass_t pst_pci_devclass; - -DRIVER_MODULE(pstpci, pci, pst_pci_driver, pst_pci_devclass, 0, 0); +DRIVER_MODULE(pstpci, pci, pst_pci_driver, 0, 0); diff --git a/sys/dev/pst/pst-raid.c b/sys/dev/pst/pst-raid.c index 809a389c76bc..e7e212da4851 100644 --- a/sys/dev/pst/pst-raid.c +++ b/sys/dev/pst/pst-raid.c @@ -372,6 +372,4 @@ static driver_t pst_driver = { sizeof(struct pst_softc), }; -static devclass_t pst_devclass; - -DRIVER_MODULE(pst, pstpci, pst_driver, pst_devclass, 0, 0); +DRIVER_MODULE(pst, pstpci, pst_driver, 0, 0); |