These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / include / linux / kdev_t.h
index c838abe..052c7b3 100644 (file)
@@ -20,7 +20,7 @@
        })
 
 /* acceptable for old filesystems */
-static inline int old_valid_dev(dev_t dev)
+static inline bool old_valid_dev(dev_t dev)
 {
        return MAJOR(dev) < 256 && MINOR(dev) < 256;
 }
@@ -35,7 +35,7 @@ static inline dev_t old_decode_dev(u16 val)
        return MKDEV((val >> 8) & 255, val & 255);
 }
 
-static inline int new_valid_dev(dev_t dev)
+static inline bool new_valid_dev(dev_t dev)
 {
        return 1;
 }
@@ -54,11 +54,6 @@ static inline dev_t new_decode_dev(u32 dev)
        return MKDEV(major, minor);
 }
 
-static inline int huge_valid_dev(dev_t dev)
-{
-       return 1;
-}
-
 static inline u64 huge_encode_dev(dev_t dev)
 {
        return new_encode_dev(dev);