projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77c5b5d
)
include/linux/kdev_t.h: remove unused huge_valid_dev()
author
Yaowei Bai
<bywxiaobai@163.com>
Mon, 9 Nov 2015 22:58:26 +0000
(14:58 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 9 Nov 2015 23:11:24 +0000
(15:11 -0800)
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>
include/linux/kdev_t.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/kdev_t.h
b/include/linux/kdev_t.h
index c838abe3ee0a80dfccfb2bfbf1bc1e5067fa9dca..a546d206c7f352eb96e1cbfa71b3c76885743a76 100644
(file)
--- 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);