From 5b6e6e1ea65e59c9bb2428cf35ca60d8cdd2673a Mon Sep 17 00:00:00 2001 From: kn Date: Mon, 19 Dec 2022 15:27:06 +0000 Subject: [PATCH] Remove unused *sd_scsibus_dev member from struct sr_discipline Under _KERNEL, dead since 2011 r1.100 Simplify softraid(4) to behave like other HBAs [...] OK krw --- sys/dev/softraidvar.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h index d29ca079389..fabaa0c6f13 100644 --- a/sys/dev/softraidvar.h +++ b/sys/dev/softraidvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: softraidvar.h,v 1.175 2022/12/19 08:16:36 kn Exp $ */ +/* $OpenBSD: softraidvar.h,v 1.176 2022/12/19 15:27:06 kn Exp $ */ /* * Copyright (c) 2006 Marco Peereboom * Copyright (c) 2008 Chris Kuethe @@ -563,8 +563,6 @@ struct sr_discipline { int sd_deleted; - struct device *sd_scsibus_dev; - /* discipline volume */ struct sr_volume sd_vol; /* volume associated */ int sd_vol_status; /* runtime vol status */ -- 2.20.1