diff options
author | 2015-09-13 15:18:14 +0000 | |
---|---|---|
committer | 2015-09-13 15:18:14 +0000 | |
commit | f817cbeaa341fd34b82d179921f591312fe9a047 (patch) | |
tree | fc74570cf1eda95fc1c6e8be65ea93c2431a8070 | |
parent | intr_barrier(9) for hppa. (diff) | |
download | wireguard-openbsd-f817cbeaa341fd34b82d179921f591312fe9a047.tar.xz wireguard-openbsd-f817cbeaa341fd34b82d179921f591312fe9a047.zip |
Remove unused and incorrect defines GPT_PARTSPERSEC and GPT_SECOFFSET.
-rw-r--r-- | sys/sys/disklabel.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index d64fd270291..a77b294aa0e 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.70 2015/09/13 14:38:17 krw Exp $ */ +/* $OpenBSD: disklabel.h,v 1.71 2015/09/13 15:18:14 krw Exp $ */ /* $NetBSD: disklabel.h,v 1.41 1996/05/10 23:07:37 mark Exp $ */ /* @@ -428,9 +428,6 @@ struct gpt_partition { and must be zero */ }; -#define GPT_PARTSPERSEC(gh) (DEV_BSIZE / letoh32((gh)->gh_part_size)) -#define GPT_SECOFFSET(gh, n) ((gh)->gh_part_size * n) - #define GPT_UUID_UNUSED \ { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } |