diff options
author | le <le@FreeBSD.org> | 2004-02-16 23:14:13 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2004-02-16 23:14:13 +0000 |
commit | 6132c8b55e5cb27f9982f38663d7e9350bfeb453 (patch) | |
tree | 57b6378eeba3d15deabbec1aa580510566049b70 /sys/dev/vinum | |
parent | 3865a730901d1fe8b408a66773e790df11eadee5 (diff) | |
download | FreeBSD-src-6132c8b55e5cb27f9982f38663d7e9350bfeb453.zip FreeBSD-src-6132c8b55e5cb27f9982f38663d7e9350bfeb453.tar.gz |
Remove some more 'makedev' related macros.
Approved by: grog (mentor)
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumvar.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h index 12986e04..6130391 100644 --- a/sys/dev/vinum/vinumvar.h +++ b/sys/dev/vinum/vinumvar.h @@ -126,16 +126,6 @@ enum constants { #define OBJTYPE(x) ((minor(x) >> VINUM_TYPE_SHIFT) & 3) - /* Create device minor numbers */ -#define VINUMDEV(o, t) makedev (VINUM_CDEV_MAJOR, VINUMMINOR (o, t)) - -#define VINUM_VOL(v) makedev (VINUM_CDEV_MAJOR, \ - VINUMMINOR (v, VINUM_VOLUME_TYPE)) -#define VINUM_PLEX(p) makedev (VINUM_CDEV_MAJOR, \ - VINUMMINOR (p, VINUM_PLEX_TYPE)) -#define VINUM_SD(s) makedev (VINUM_CDEV_MAJOR, \ - VINUMMINOR (s, VINUM_SD_TYPE)) - /* extract device type */ #define DEVTYPE(x) ((minor (x) >> VINUM_TYPE_SHIFT) & 3) |