summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2011-11-11 12:32:11 +0000
committerjsing <jsing@openbsd.org>2011-11-11 12:32:11 +0000
commit29179dcd4a339631c45edc40390efd8d6ed11764 (patch)
tree1e596f943663ac9cc5486daa8ad1f5e69f220372 /sys/dev/softraid.c
parentWhen setting up a bootable softraid volume, do not try to save the boot (diff)
downloadwireguard-openbsd-29179dcd4a339631c45edc40390efd8d6ed11764.tar.xz
wireguard-openbsd-29179dcd4a339631c45edc40390efd8d6ed11764.zip
Remove unused sv_sensor_valid variable.
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 1 insertions, 3 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 */