summaryrefslogtreecommitdiffstats
path: root/include/linux/kdev_t.h
diff options
context:
space:
mode:
authorYaowei Bai <bywxiaobai@163.com>2015-11-09 14:58:26 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-09 15:11:24 -0800
commit7bc4f1d281bc1f807fd0c9aaa2f2d333b6508790 (patch)
tree1ded78ce4b7b50d098c4a886968a9e999b200166 /include/linux/kdev_t.h
parent77c5b5da02f0a30d61144a546c4ef3657e3b817d (diff)
downloadop-kernel-dev-7bc4f1d281bc1f807fd0c9aaa2f2d333b6508790.zip
op-kernel-dev-7bc4f1d281bc1f807fd0c9aaa2f2d333b6508790.tar.gz
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>
Diffstat (limited to 'include/linux/kdev_t.h')
-rw-r--r--include/linux/kdev_t.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/kdev_t.h b/include/linux/kdev_t.h
index c838abe..a546d20 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)
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);
OpenPOWER on IntegriCloud