Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 23:25:25 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c59cc8f80123 - main - isci: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205062325.246NPPlM075868@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

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

commit c59cc8f80123ffdad3b012b92e86a39638ef1744
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:58 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:58 +0000

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

diff --git a/sys/dev/isci/isci.c b/sys/dev/isci/isci.c
index cb6bac483d26..3b1c20d014a1 100644
--- a/sys/dev/isci/isci.c
+++ b/sys/dev/isci/isci.c
@@ -69,8 +69,6 @@ int isci_initialize(struct isci_softc *isci);
 void isci_allocate_dma_buffer_callback(void *arg, bus_dma_segment_t *seg,
     int nseg, int error);
 
-static devclass_t isci_devclass;
-
 static device_method_t isci_pci_methods[] = {
 	 /* Device interface */
 	 DEVMETHOD(device_probe,  isci_probe),
@@ -85,7 +83,7 @@ static driver_t isci_pci_driver = {
 	 sizeof(struct isci_softc),
 };
 
-DRIVER_MODULE(isci, pci, isci_pci_driver, isci_devclass, 0, 0);
+DRIVER_MODULE(isci, pci, isci_pci_driver, 0, 0);
 MODULE_DEPEND(isci, cam, 1, 1, 1);
 
 static struct _pcsid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062325.246NPPlM075868>