diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/softraid.c | 4 | ||||
-rw-r--r-- | sys/dev/softraidvar.h | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 72d3f9f53dd..a5844964a1b 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.253 2011/11/11 12:28:37 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.254 2011/11/11 12:32:11 jsing Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -3253,8 +3253,6 @@ sr_ioctl_createraid(struct sr_softc *sc, struct bioc_createraid *bc, int user) if (sr_sensors_create(sd)) printf("%s: unable to create sensor for %s\n", DEVNAME(sc), dev->dv_xname); - else - sd->sd_vol.sv_sensor_valid = 1; #endif /* SMALL_KERNEL */ } else { /* we are not an os disk */ diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h index 63d64a9231a..e5a8f0de586 100644 --- a/sys/dev/softraidvar.h +++ b/sys/dev/softraidvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: softraidvar.h,v 1.109 2011/09/19 21:39:31 jsing Exp $ */ +/* $OpenBSD: softraidvar.h,v 1.110 2011/11/11 12:32:11 jsing Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -469,7 +469,6 @@ struct sr_volume { /* sensors */ struct ksensor sv_sensor; int sv_sensor_attached; - int sv_sensor_valid; }; struct sr_discipline { |