Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 22:43:30 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: 3144501a3f77 - main - ips: Remove unused devclass arguments to DRIVER_MODULE.
Message-ID:  <202205062243.246MhUui019784@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=3144501a3f777d3bf89df9728d437ae177df47eb

commit 3144501a3f777d3bf89df9728d437ae177df47eb
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:40:50 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:31 +0000

    ips: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/ips/ips_disk.c | 3 +--
 sys/dev/ips/ips_pci.c  | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys/dev/ips/ips_disk.c b/sys/dev/ips/ips_disk.c
index 7ae489ea8201..eb9ec08c1d94 100644
--- a/sys/dev/ips/ips_disk.c
+++ b/sys/dev/ips/ips_disk.c
@@ -62,8 +62,7 @@ static driver_t ipsd_driver = {
 	sizeof(ipsdisk_softc_t)
 };
 
-static devclass_t ipsd_devclass;
-DRIVER_MODULE(ipsd, ips, ipsd_driver, ipsd_devclass, 0, 0);
+DRIVER_MODULE(ipsd, ips, ipsd_driver, 0, 0);
 
 /* handle opening of disk device.  It must set up all
    information about the geometry and size of the disk */
diff --git a/sys/dev/ips/ips_pci.c b/sys/dev/ips/ips_pci.c
index 588e14d5e6b8..3d1d0c68728f 100644
--- a/sys/dev/ips/ips_pci.c
+++ b/sys/dev/ips/ips_pci.c
@@ -219,5 +219,4 @@ static driver_t ips_pci_driver = {
         sizeof(ips_softc_t),
 };
 
-static devclass_t ips_devclass;
-DRIVER_MODULE(ips, pci, ips_pci_driver, ips_devclass, 0, 0);
+DRIVER_MODULE(ips, pci, ips_pci_driver, 0, 0);



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