summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2011-11-11 12:32:12 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2011-11-11 12:32:12 +0000
commit7a75311229ff489b0af395711d30395d4d3370a9 (patch)
tree46764dd51d4969e02e563b94a9a7858c6bfdacd1 /sys/dev
parentde02d48056772427ee26140d54d49415d3d38925 (diff)
Remove unused sv_sensor_valid variable.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/softraid.c4
-rw-r--r--sys/dev/softraidvar.h3
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 {