diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-10-04 19:21:01 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-10-04 19:21:01 +0000 |
commit | b5d1ec4d7eeeea83da2a948843584c874150a3f6 (patch) | |
tree | 42bb4d8f32dabb586c9a202d3e48ac6ffd09a9c0 /sys/dev/softraid_raid0.c | |
parent | 74cb5f42981d9b20e1c62602dc19ed6c5ab7a5b4 (diff) |
Remove bogus code from the error path in sr_raid0_rw(); ok marco@
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r-- | sys/dev/softraid_raid0.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c index 9fa1fed1e69..9eff9facc4c 100644 --- a/sys/dev/softraid_raid0.c +++ b/sys/dev/softraid_raid0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid0.c,v 1.9 2008/07/19 22:41:58 marco Exp $ */ +/* $OpenBSD: softraid_raid0.c,v 1.10 2008/10/04 19:21:00 miod Exp $ */ /* * Copyright (c) 2008 Marco Peereboom <marco@peereboom.us> * @@ -235,7 +235,6 @@ sr_raid0_rw(struct sr_workunit *wu) /* make sure chunk is online */ scp = sd->sd_vol.sv_chunks[chunk]; if (scp->src_meta.scm_status != BIOC_SDONLINE) { - sr_ccb_put(ccb); goto bad; } |