Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 23:24:56 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: 6540641ce27f - main - stge: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205062324.246NOuaR075208@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=6540641ce27fd09009f154517003809a20bb3b51

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

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

diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c
index 0c93a18c0235..7f35f064d759 100644
--- a/sys/dev/stge/if_stge.c
+++ b/sys/dev/stge/if_stge.c
@@ -226,9 +226,7 @@ static driver_t stge_driver = {
 	sizeof(struct stge_softc)
 };
 
-static devclass_t stge_devclass;
-
-DRIVER_MODULE(stge, pci, stge_driver, stge_devclass, 0, 0);
+DRIVER_MODULE(stge, pci, stge_driver, 0, 0);
 DRIVER_MODULE(miibus, stge, miibus_driver, 0, 0);
 
 static struct resource_spec stge_res_spec_io[] = {



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