git: d80c01bfb266 - main - geom: Remove unused fields from struct bio
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Sep 2026 17:00:42 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=d80c01bfb26612bf036b8ed7f7bfd5cc04d949f3
commit d80c01bfb26612bf036b8ed7f7bfd5cc04d949f3
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-09-25 15:12:43 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-09-25 16:50:41 +0000
geom: Remove unused fields from struct bio
The corresponding machinery was removed in commit 0c4440c3aafe6, ten
yearso ago.
No functional change intended.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59986
---
sys/sys/bio.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 5c12c858f3e5..c4dedbd02185 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -79,8 +79,6 @@
struct disk;
struct bio;
-typedef void bio_task_t(void *);
-
/*
* The bio structure describes an I/O operation in the kernel.
*/
@@ -115,9 +113,6 @@ struct bio {
struct bio *bio_parent; /* Pointer to parent */
struct bintime bio_t0; /* Time request started */
- bio_task_t *bio_task; /* Task_queue handler */
- void *bio_task_arg; /* Argument to above */
-
void *bio_spare1;
void *bio_spare2;