diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-04 23:58:13 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-04 23:58:13 +0000 |
commit | 0a02e410ceb9d0b58932f15b69cefa098049f342 (patch) | |
tree | 4f817f3c6378b30006793e849bfb4f30c06bc1d1 /sys/arch | |
parent | d3cf32b7f9a1ba2168ed6e0573b0f3e59edf4d15 (diff) |
More instances of the same now unused variable as in alpha's
readdoslabel(). A bit of bad144 fallout.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/disksubr.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/disksubr.c | 3 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/disksubr.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/hppa/hppa/disksubr.c b/sys/arch/hppa/hppa/disksubr.c index dcf293aaed3..10315e52f85 100644 --- a/sys/arch/hppa/hppa/disksubr.c +++ b/sys/arch/hppa/hppa/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.35 2006/10/04 03:23:01 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.36 2006/10/04 23:58:12 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -224,7 +224,6 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly) struct dos_partition *dp = osdep->u._i386.dosparts, *dp2; char *msg = NULL, *cp; int dospartoff, cyl, i, ourpart = -1; - dev_t dev; if (lp->d_secpercyl == 0) { msg = "invalid label, d_secpercyl == 0"; diff --git a/sys/arch/hppa64/hppa64/disksubr.c b/sys/arch/hppa64/hppa64/disksubr.c index 94da0fee11d..3c30c618682 100644 --- a/sys/arch/hppa64/hppa64/disksubr.c +++ b/sys/arch/hppa64/hppa64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.18 2006/10/04 03:23:01 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.19 2006/10/04 23:58:12 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -220,7 +220,6 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly) struct dos_partition *dp = osdep->u._i386.dosparts, *dp2; char *msg = NULL, *cp; int dospartoff, cyl, i, ourpart = -1; - dev_t dev; if (lp->d_secpercyl == 0) { msg = "invalid label, d_secpercyl == 0"; diff --git a/sys/arch/mips64/mips64/disksubr.c b/sys/arch/mips64/mips64/disksubr.c index 1a9e7a31002..3aef50f09ce 100644 --- a/sys/arch/mips64/mips64/disksubr.c +++ b/sys/arch/mips64/mips64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.24 2006/10/04 03:23:01 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.25 2006/10/04 23:58:12 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -228,7 +228,6 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly) struct dos_partition *dp = osdep->u._i386.dosparts, *dp2; char *msg = NULL, *cp; int dospartoff, cyl, i, ourpart = -1; - dev_t dev; if (lp->d_secpercyl == 0) { msg = "invalid label, d_secpercyl == 0"; |