Skip to content

Commit

Permalink
include/linux/kdev_t.h: remove unused huge_valid_dev()
Browse files Browse the repository at this point in the history
There's no user of huge_valid_dev() any more, so remove it.

No functional change.

Signed-off-by: Yaowei Bai <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
baihuahua authored and torvalds committed Nov 9, 2015
1 parent 77c5b5d commit 7bc4f1d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/kdev_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7bc4f1d

Please sign in to comment.