diff options
author | Yaowei Bai <bywxiaobai@163.com> | 2015-11-09 17:58:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-09 18:11:24 -0500 |
commit | 7bc4f1d281bc1f807fd0c9aaa2f2d333b6508790 (patch) | |
tree | 1ded78ce4b7b50d098c4a886968a9e999b200166 | |
parent | 77c5b5da02f0a30d61144a546c4ef3657e3b817d (diff) |
include/linux/kdev_t.h: remove unused huge_valid_dev()
There's no user of huge_valid_dev() any more, so remove it.
No functional change.
Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/kdev_t.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kdev_t.h b/include/linux/kdev_t.h index c838abe3ee0a..a546d206c7f3 100644 --- a/include/linux/kdev_t.h +++ b/include/linux/kdev_t.h | |||
@@ -54,11 +54,6 @@ static inline dev_t new_decode_dev(u32 dev) | |||
54 | return MKDEV(major, minor); | 54 | return MKDEV(major, minor); |
55 | } | 55 | } |
56 | 56 | ||
57 | static inline int huge_valid_dev(dev_t dev) | ||
58 | { | ||
59 | return 1; | ||
60 | } | ||
61 | |||
62 | static inline u64 huge_encode_dev(dev_t dev) | 57 | static inline u64 huge_encode_dev(dev_t dev) |
63 | { | 58 | { |
64 | return new_encode_dev(dev); | 59 | return new_encode_dev(dev); |