The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=12d9ce9d4daf7426c1be74d58007e7e7d6c83e97

commit 12d9ce9d4daf7426c1be74d58007e7e7d6c83e97
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-05-09 21:26:43 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-05-09 21:26:43 +0000

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

diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c
index d2f7fa58b02f..3a5887427e36 100644
--- a/sys/dev/cp/if_cp.c
+++ b/sys/dev/cp/if_cp.c
@@ -119,8 +119,6 @@ static      driver_t cp_driver = {
        sizeof(bdrv_t),
 };
 
-static devclass_t cp_devclass;
-
 static void cp_receive (cp_chan_t *c, unsigned char *data, int len);
 static void cp_transmit (cp_chan_t *c, void *attachment, int len);
 static void cp_error (cp_chan_t *c, int data);
@@ -1961,5 +1959,5 @@ static struct ng_type typestruct = {
 };
 
 MODULE_DEPEND (ng_cp, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, 
NG_ABI_VERSION);
-DRIVER_MODULE (cp, pci, cp_driver, cp_devclass, cp_modevent, NULL);
+DRIVER_MODULE (cp, pci, cp_driver, cp_modevent, NULL);
 MODULE_VERSION (cp, 1);

Reply via email to