diff options
author | Ulf Lilleengen <lulf@FreeBSD.org> | 2008-10-02 09:35:47 +0000 |
---|---|---|
committer | Ulf Lilleengen <lulf@FreeBSD.org> | 2008-10-02 09:35:47 +0000 |
commit | d4b28d5b0f1bf3314c3ebc09c453a58beb243478 (patch) | |
tree | 9efdc5a6228591e7df2da67347be1e61b808e020 /sys/geom/vinum | |
parent | a8a55dd98f372b7d64990a2465fa893c200e2b35 (diff) | |
download | src-d4b28d5b0f1bf3314c3ebc09c453a58beb243478.tar.gz src-d4b28d5b0f1bf3314c3ebc09c453a58beb243478.zip |
- Remove unneeded macro since the config_length field in the header was changed
to 64 bit in the new format.
Notes
Notes:
svn path=/head/; revision=183545
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 0d2828e98f78..fc9f0cb21166 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); \ |