summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/ips.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index ff0f433f8e3..5bb9f499607 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.89 2009/03/22 07:02:32 grange Exp $ */
+/* $OpenBSD: ips.c,v 1.90 2009/03/22 18:27:41 grange Exp $ */
/*
* Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org>
@@ -1173,7 +1173,6 @@ ips_ioctl_vol(struct ips_softc *sc, struct bioc_vol *bv)
break;
case IPS_DS_OFFLINE:
bv->bv_status = BIOC_SVOFFLINE;
- rebuild++;
break;
default:
bv->bv_status = BIOC_SVINVALID;
@@ -1360,7 +1359,6 @@ ips_sensors(void *arg)
case IPS_DS_OFFLINE:
sc->sc_sensors[i].value = SENSOR_DRIVE_FAIL;
sc->sc_sensors[i].status = SENSOR_S_CRIT;
- rebuild++;
break;
default:
sc->sc_sensors[i].value = 0;