summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-11-17 05:32:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-11-17 05:32:43 +0000
commit088a1d86789be63e62c960ee2267e30b468853ea (patch)
treec8ccfff4e9801d4771c546063bb1abec21c66876 /sys
parentac5bc267b0ca20ac3bfdefd8440eb11d844da291 (diff)
Remove unused variable.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/aviion/aviion/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/aviion/aviion/disksubr.c b/sys/arch/aviion/aviion/disksubr.c
index 9cfddd9b8c1..fa266879d38 100644
--- a/sys/arch/aviion/aviion/disksubr.c
+++ b/sys/arch/aviion/aviion/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.39 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.40 2007/11/17 05:32:42 miod Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -100,7 +100,7 @@ done:
int
writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp)
{
- int error = EIO, partoff = -1, cyl = 0;
+ int error = EIO, partoff = -1;
struct disklabel *dlp;
struct buf *bp = NULL;