diff options
author | lulf <lulf@FreeBSD.org> | 2008-10-02 09:35:47 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2008-10-02 09:35:47 +0000 |
commit | f5703ce9b7658f8b6e36328ba758dc1a8ca92f0b (patch) | |
tree | 9efdc5a6228591e7df2da67347be1e61b808e020 /sys/geom/vinum | |
parent | e753484473a10c20c1a0c3278a9fcb05cd707dec (diff) | |
download | FreeBSD-src-f5703ce9b7658f8b6e36328ba758dc1a8ca92f0b.zip FreeBSD-src-f5703ce9b7658f8b6e36328ba758dc1a8ca92f0b.tar.gz |
- Remove unneeded macro since the config_length field in the header was changed
to 64 bit in the new format.
Diffstat (limited to 'sys/geom/vinum')
-rw-r--r-- | sys/geom/vinum/geom_vinum_drive.c | 5 |
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); \ |