git: f52902fdcf66 - main - bus.h: remove deprecated struct driver
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jan 2025 20:31:05 UTC
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;
/**