Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 22:43:35 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: 964c2b3a6faf - main - ix/ixv: Remove unused devclass arguments to DRIVER_MODULE.
Message-ID:  <202205062243.246MhZGJ019886@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=964c2b3a6faf09bcdbc2dfb074f962f87a1ab2d4

commit 964c2b3a6faf09bcdbc2dfb074f962f87a1ab2d4
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:45:07 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:31 +0000

    ix/ixv: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/ixgbe/if_ix.c  | 3 +--
 sys/dev/ixgbe/if_ixv.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c
index d7df1dcf6899..364e08cc722a 100644
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -233,8 +233,7 @@ static driver_t ix_driver = {
 	"ix", ix_methods, sizeof(struct ixgbe_softc),
 };
 
-devclass_t ix_devclass;
-DRIVER_MODULE(ix, pci, ix_driver, ix_devclass, 0, 0);
+DRIVER_MODULE(ix, pci, ix_driver, 0, 0);
 IFLIB_PNP_INFO(pci, ix_driver, ixgbe_vendor_info_array);
 MODULE_DEPEND(ix, pci, 1, 1, 1);
 MODULE_DEPEND(ix, ether, 1, 1, 1);
diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c
index 813a8d5fc3ed..d4c8067e2a0c 100644
--- a/sys/dev/ixgbe/if_ixv.c
+++ b/sys/dev/ixgbe/if_ixv.c
@@ -143,8 +143,7 @@ static driver_t ixv_driver = {
 	"ixv", ixv_methods, sizeof(struct ixgbe_softc),
 };
 
-devclass_t ixv_devclass;
-DRIVER_MODULE(ixv, pci, ixv_driver, ixv_devclass, 0, 0);
+DRIVER_MODULE(ixv, pci, ixv_driver, 0, 0);
 IFLIB_PNP_INFO(pci, ixv_driver, ixv_vendor_info_array);
 MODULE_DEPEND(ixv, iflib, 1, 1, 1);
 MODULE_DEPEND(ixv, pci, 1, 1, 1);



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