summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-10-06 14:25:48 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-10-06 14:25:48 +0000
commit37ec583edfcf11324fcc3213f33a640a0be96338 (patch)
treed52a53543e4dbbaa39958aa7445b4f88f3f5b9ba /sys/arch
parent94a4f3ab6abd04fd569dcb13716913bd49bbeb67 (diff)
Remove unused variable.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa64/hppa64/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/hppa64/disksubr.c b/sys/arch/hppa64/hppa64/disksubr.c
index 74aeed3e008..fb09f882145 100644
--- a/sys/arch/hppa64/hppa64/disksubr.c
+++ b/sys/arch/hppa64/hppa64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.52 2007/06/20 18:15:45 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.53 2007/10/06 14:25:47 kettenis Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -243,7 +243,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;