The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=07127ef86f270ac556e668a601f49fa433577980

commit 07127ef86f270ac556e668a601f49fa433577980
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-05-06 22:46:59 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-05-06 22:46:59 +0000

    smartpqi: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/smartpqi/smartpqi_main.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/dev/smartpqi/smartpqi_main.c b/sys/dev/smartpqi/smartpqi_main.c
index 97747be50d24..88f1906060c9 100644
--- a/sys/dev/smartpqi/smartpqi_main.c
+++ b/sys/dev/smartpqi/smartpqi_main.c
@@ -577,13 +577,11 @@ static device_method_t pqi_methods[] = {
        { 0, 0 }
 };
 
-static devclass_t  pqi_devclass;
-
 static driver_t smartpqi_pci_driver = {
        "smartpqi",
        pqi_methods,
        sizeof(struct pqisrc_softstate)
 };
 
-DRIVER_MODULE(smartpqi, pci, smartpqi_pci_driver, pqi_devclass, 0, 0);
+DRIVER_MODULE(smartpqi, pci, smartpqi_pci_driver, 0, 0);
 MODULE_DEPEND(smartpqi, pci, 1, 1, 1);

Reply via email to