summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDariusz Swiderski <dms@cvs.openbsd.org>2009-10-05 22:20:36 +0000
committerDariusz Swiderski <dms@cvs.openbsd.org>2009-10-05 22:20:36 +0000
commite51562743146b605bcd436e7647e7372b95147b1 (patch)
tree0cb8ffef06ffb8c4f6b9631ec9241b35e637de02 /sys/arch
parentec8a6a83d0719ac68b803c9591cd42107b2c1727 (diff)
Remove dead, never reached code.
ok by drahn@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/macppc/disksubr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/macppc/macppc/disksubr.c b/sys/arch/macppc/macppc/disksubr.c
index 7988eae966d..ac13aa3436e 100644
--- a/sys/arch/macppc/macppc/disksubr.c
+++ b/sys/arch/macppc/macppc/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.67 2009/08/13 15:23:10 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.68 2009/10/05 22:20:35 dms Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -182,8 +182,6 @@ readdpmelabel(struct buf *bp, void (*strat)(struct buf *),
if (biowait(bp))
return(bp->b_error);
- if (hfspartoff == -1)
- hfspartoff = 0;
return checkdisklabel(bp->b_data + LABELOFFSET, lp, hfspartoff,
hfspartend);
}