summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/include
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-06-18 21:45:22 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-06-18 21:45:22 +0000
commit7f976c165a96163324cee0dc14a56cb772e5a41c (patch)
tree179d9394aedc71c70723187934bfe16a8b29f184 /sys/arch/hppa64/include
parent5cf6efc5d7baa0e482b834460a844d7b397270aa (diff)
Don't use cpu_disklabel as local storage. Use local variables and discard
the unneeded info when done with it. Another empty struct cpu_disklabel. ok deraadt@
Diffstat (limited to 'sys/arch/hppa64/include')
-rw-r--r--sys/arch/hppa64/include/disklabel.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/hppa64/include/disklabel.h b/sys/arch/hppa64/include/disklabel.h
index 6d169f67286..cce08f14a6d 100644
--- a/sys/arch/hppa64/include/disklabel.h
+++ b/sys/arch/hppa64/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.13 2007/06/17 15:05:08 krw Exp $ */
+/* $OpenBSD: disklabel.h,v 1.14 2007/06/18 21:45:21 krw Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -127,13 +127,6 @@ struct hpux_label {
#define lifstodb(s) ((s) * LIF_SECTSIZE / DEV_BSIZE)
struct cpu_disklabel {
- union {
- struct {
- struct lifvol lifvol;
- struct lifdir lifdir[LIF_NUMDIR];
- struct hpux_label hplabel;
- } _hppa;
- } u;
};
#endif /* _MACHINE_DISKLABEL_H_ */