summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2004-02-16 23:14:13 +0000
committerle <le@FreeBSD.org>2004-02-16 23:14:13 +0000
commit6132c8b55e5cb27f9982f38663d7e9350bfeb453 (patch)
tree57b6378eeba3d15deabbec1aa580510566049b70 /sys/dev
parent3865a730901d1fe8b408a66773e790df11eadee5 (diff)
downloadFreeBSD-src-6132c8b55e5cb27f9982f38663d7e9350bfeb453.zip
FreeBSD-src-6132c8b55e5cb27f9982f38663d7e9350bfeb453.tar.gz
Remove some more 'makedev' related macros.
Approved by: grog (mentor)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/vinum/vinumvar.h10
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)
OpenPOWER on IntegriCloud