summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/vinumvar.h
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2003-09-29 03:16:20 +0000
committergrog <grog@FreeBSD.org>2003-09-29 03:16:20 +0000
commit921b5057a6283feba768192daa0f779a260e8078 (patch)
treee3ba5fbc29e29748115cc1b8f39a3f021e360cfb /sys/dev/vinum/vinumvar.h
parentb79b4549fd410fad1226a05a2ac930dad193b4ec (diff)
downloadFreeBSD-src-921b5057a6283feba768192daa0f779a260e8078.zip
FreeBSD-src-921b5057a6283feba768192daa0f779a260e8078.tar.gz
Remove calls to makedev. They were never needed.
Requested by: phk Explained by: rwatson
Diffstat (limited to 'sys/dev/vinum/vinumvar.h')
-rw-r--r--sys/dev/vinum/vinumvar.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h
index 8c6a07b..6130391 100644
--- a/sys/dev/vinum/vinumvar.h
+++ b/sys/dev/vinum/vinumvar.h
@@ -37,7 +37,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinumvar.h,v 1.33 2003/05/23 01:09:23 grog Exp $
+ * $Id: vinumvar.h,v 1.33 2003/05/23 01:09:23 grog Exp grog $
* $FreeBSD$
*/
@@ -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