summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2024-02-03 18:52:00 +0000
committerBob Beck <beck@cvs.openbsd.org>2024-02-03 18:52:00 +0000
commit408fdd6bcb2d3745aa9662aa649fdb765f04b9a1 (patch)
tree41d03e8f5a389984c57ed54b3ab92b12e52a673e /sys/dev
parent2fa0d388000cf61b7432ce38ca7f41fd59a919d6 (diff)
Remove Softdep.
Softdep has been a no-op for some time now, this removes it to get it out of the way. Flensing mostly done in Talinn, with some help from krw@ ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/softraid.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index decea16cb24..b73f2d1deca 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.429 2022/12/21 09:54:23 kn Exp $ */
+/* $OpenBSD: softraid.c,v 1.430 2024/02/03 18:51:58 beck Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -445,7 +445,6 @@ sr_rw(struct sr_softc *sc, dev_t dev, char *buf, size_t size, daddr_t blkno,
splx(s);
}
- LIST_INIT(&b.b_dep);
VOP_STRATEGY(vp, &b);
biowait(&b);
@@ -2018,8 +2017,6 @@ sr_ccb_rw(struct sr_discipline *sd, int chunk, daddr_t blkno,
splx(s);
}
- LIST_INIT(&ccb->ccb_buf.b_dep);
-
DNPRINTF(SR_D_DIS, "%s: %s %s ccb "
"b_bcount %ld b_blkno %lld b_flags 0x%0lx b_data %p\n",
DEVNAME(sd->sd_sc), sd->sd_meta->ssd_devname, sd->sd_name,