summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kdev_t.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/kdev_t.h b/include/linux/kdev_t.h
index 900a4a1e1282..64a88b3b194a 100644
--- a/include/linux/kdev_t.h
+++ b/include/linux/kdev_t.h
@@ -80,16 +80,6 @@ typedef struct {
#define mk_kdev(major, minor) ((kdev_t) { __mkdev(major,minor) } )
-/*
- * The "values" are just _cookies_, usable for
- * internal equality comparisons and for things
- * like NFS filehandle conversion.
- */
-static inline unsigned int kdev_val(kdev_t dev)
-{
- return dev.value;
-}
-
#define NODEV (mk_kdev(0,0))
/* Mask off the high bits for now.. */