Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 23:25:12 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: 33bc769101f0 - main - vte: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205062325.246NPCb9075568@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=33bc769101f0d28161b474bf98ccc8daae3a4d21

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

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

diff --git a/sys/dev/vte/if_vte.c b/sys/dev/vte/if_vte.c
index 3ad477482846..452b1b90e771 100644
--- a/sys/dev/vte/if_vte.c
+++ b/sys/dev/vte/if_vte.c
@@ -164,9 +164,7 @@ static driver_t vte_driver = {
 	sizeof(struct vte_softc)
 };
 
-static devclass_t vte_devclass;
-
-DRIVER_MODULE(vte, pci, vte_driver, vte_devclass, 0, 0);
+DRIVER_MODULE(vte, pci, vte_driver, 0, 0);
 DRIVER_MODULE(miibus, vte, miibus_driver, 0, 0);
 
 static int



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