Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 22:43:29 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: 05a86e7c3cc1 - main - igc: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205062243.246MhToa019760@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=05a86e7c3cc1549aec15779a1d107ee683b074a7

commit 05a86e7c3cc1549aec15779a1d107ee683b074a7
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:39:56 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:30 +0000

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

diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c
index 436493185d5c..f2803c01850e 100644
--- a/sys/dev/igc/if_igc.c
+++ b/sys/dev/igc/if_igc.c
@@ -167,8 +167,7 @@ static driver_t igc_driver = {
 	"igc", igc_methods, sizeof(struct igc_adapter),
 };
 
-static devclass_t igc_devclass;
-DRIVER_MODULE(igc, pci, igc_driver, igc_devclass, 0, 0);
+DRIVER_MODULE(igc, pci, igc_driver, 0, 0);
 
 MODULE_DEPEND(igc, pci, 1, 1, 1);
 MODULE_DEPEND(igc, ether, 1, 1, 1);



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