diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2016-05-21 02:57:59 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-21 03:58:30 +0300 |
commit | 7fab358d90e6ba9d9cb702bee0c8a5f5c13bb6df (patch) | |
tree | 8b731c514818ebc3c232241c449914f846c3f651 /mm/userfaultfd.c | |
parent | a4a921aa5c7a1ab621e71fd1a4289e76fe230cbd (diff) | |
download | linux-7fab358d90e6ba9d9cb702bee0c8a5f5c13bb6df.tar.xz |
include/linux/hugetlb*.h: clean up code
Macro HUGETLBFS_SB is clear enough, so one statement is clearer than 3
lines statements.
Remove redundant return statements for non-return functions, which can
save lines, at least.
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions