summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/vinum')
-rw-r--r--sys/geom/vinum/geom_vinum_drive.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/geom/vinum/geom_vinum_drive.c b/sys/geom/vinum/geom_vinum_drive.c
index 0d2828e..fc9f0cb 100644
--- a/sys/geom/vinum/geom_vinum_drive.c
+++ b/sys/geom/vinum/geom_vinum_drive.c
@@ -240,11 +240,6 @@ gv_write_header(struct g_consumer *cp, struct gv_hdr *m_hdr)
uint8_t d_hdr[GV_HDR_LEN];
int off, ret;
-#define GV_SET32BE(field) \
- do { \
- *((uint32_t *)&d_hdr[off]) = htobe32(field); \
- off += 4; \
- } while (0)
#define GV_SET64BE(field) \
do { \
*((uint64_t *)&d_hdr[off]) = htobe64(field); \
OpenPOWER on IntegriCloud