summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/xy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/xy.c')
-rw-r--r--sys/arch/sparc/dev/xy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/xy.c b/sys/arch/sparc/dev/xy.c
index e70bed8b057..00d25d94f04 100644
--- a/sys/arch/sparc/dev/xy.c
+++ b/sys/arch/sparc/dev/xy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xy.c,v 1.67 2015/01/15 21:17:54 miod Exp $ */
+/* $OpenBSD: xy.c,v 1.68 2015/01/16 20:18:24 miod Exp $ */
/* $NetBSD: xy.c,v 1.26 1997/07/19 21:43:56 pk Exp $ */
/*
@@ -233,8 +233,6 @@ xygetdisklabel(dev, xy, lp, spoofonly)
if (xy->state == XY_DRIVE_ATTACHING || xy->state == XY_DRIVE_NOLABEL) {
/* needs to be nonzero */
lp->d_secpercyl = 1;
- /* prevent initdisklabel() from putting MAXDISKSIZE */
- DL_SETDSIZE(lp, 1ULL);
} else {
/*
* Disk geometry is known for a previously found label.