summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum/geom_vinum.c
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2010-01-25 16:55:30 +0000
committertrasz <trasz@FreeBSD.org>2010-01-25 16:55:30 +0000
commitca36390aa179f88691392d6e157daedc1caffaed (patch)
tree45ce9219e7c87f432de7b34b41018367f495ea44 /sys/geom/vinum/geom_vinum.c
parent99646c7cca53e66b15938ce0fd8008eaf8f66465 (diff)
downloadFreeBSD-src-ca36390aa179f88691392d6e157daedc1caffaed.zip
FreeBSD-src-ca36390aa179f88691392d6e157daedc1caffaed.tar.gz
Remove some pointless variable assignments.
Found with: clang
Diffstat (limited to 'sys/geom/vinum/geom_vinum.c')
-rw-r--r--sys/geom/vinum/geom_vinum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/vinum/geom_vinum.c b/sys/geom/vinum/geom_vinum.c
index 7b730bd..b921a1b 100644
--- a/sys/geom/vinum/geom_vinum.c
+++ b/sys/geom/vinum/geom_vinum.c
@@ -130,7 +130,6 @@ gv_access(struct g_provider *pp, int dr, int dw, int de)
struct gv_drive *d, *d2;
int error;
- error = ENXIO;
gp = pp->geom;
sc = gp->softc;
/*
OpenPOWER on IntegriCloud