Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 20:31:05 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f52902fdcf66 - main - bus.h: remove deprecated struct driver
Message-ID:  <202501232031.50NKV5tA074323@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne:

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

commit f52902fdcf669a95fbd3b30591e2e2a82420ddce
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2025-01-23 20:28:33 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2025-01-23 20:30:31 +0000

    bus.h: remove deprecated struct driver
    
    Unused, and deprecated in 2003.
    
    Reviewed by:    imp, jhb
    Differential Revision:  https://reviews.freebsd.org/D48487
---
 sys/sys/bus.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 01031ae3ef28..14c9c3e8473f 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -308,16 +308,6 @@ enum cpu_sets {
 
 typedef int (*devop_t)(void);
 
-/**
- * @brief This structure is deprecated.
- *
- * Use the kobj(9) macro DEFINE_CLASS to
- * declare classes which implement device drivers.
- */
-struct driver {
-	KOBJ_CLASS_FIELDS;
-};
-
 struct resource;
 
 /**



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