summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2010-02-13 21:19:27 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2010-02-13 21:19:27 +0000
commit97006a12455f2df0a9b4b63cf9f844bd39a68962 (patch)
tree92ed7bc12c1cf011fcbdd235025b71ea2947db75 /sys
parentac37319884fe5d0ddb8e8ec4a7258bba5a5f2ae5 (diff)
Removed unused variable sml_vn.
ok @marco
Diffstat (limited to 'sys')
-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 654e6fd5d17..ec2c5f7aa48 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.191 2010/02/13 21:16:10 jsing Exp $ */
+/* $OpenBSD: softraid.c,v 1.192 2010/02/13 21:19:26 jsing Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -959,7 +959,6 @@ sr_meta_native_bootprobe(struct sr_softc *sc, struct device *dv,
bcopy(md, &mle->sml_metadata,
SR_META_SIZE * 512);
mle->sml_mm = devr;
- mle->sml_vn = vn;
SLIST_INSERT_HEAD(mlh, mle, sml_link);
rv = SR_META_CLAIMED;
}
@@ -1147,7 +1146,6 @@ sr_boot_assembly(struct sr_softc *sc)
mle = SLIST_FIRST(&vol->sml);
sr_meta_getdevname(sc, mle->sml_mm, devname, sizeof(devname));
hotspare->src_dev_mm = mle->sml_mm;
- hotspare->src_vn = mle->sml_vn;
strlcpy(hotspare->src_devname, devname,
sizeof(hotspare->src_devname));
hotspare->src_size = metadata->ssdi.ssd_size;
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index dcd126f735d..e581e75cf64 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.88 2009/12/31 14:00:45 jsing Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.89 2010/02/13 21:19:26 jsing Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -360,7 +360,6 @@ struct sr_aoe {
struct sr_metadata_list {
u_int8_t sml_metadata[SR_META_SIZE * 512];
dev_t sml_mm;
- struct vnode *sml_vn;
u_int32_t sml_chunk_id;
int sml_used;