From: Yaowei Bai Date: Mon, 9 Nov 2015 22:58:26 +0000 (-0800) Subject: include/linux/kdev_t.h: remove unused huge_valid_dev() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7bc4f1d281bc1f807fd0c9aaa2f2d333b6508790;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) 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);