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>
This commit is contained in:
Yaowei Bai 2015-11-09 14:58:26 -08:00 committed by Linus Torvalds
parent 77c5b5da02
commit 7bc4f1d281
1 changed files with 0 additions and 5 deletions

View File

@ -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);