diff options
author | Chen Gang <chengang@emindsoft.com.cn> | 2016-07-27 00:24:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-27 01:19:19 +0200 |
commit | ba6c19fd113a3965f8cf4c183a813d528008d03e (patch) | |
tree | 9bd86c9de4de2e714a207fa86339148b3c39e4cb /mm/oom_kill.c | |
parent | mm: add NR_ZSMALLOC to vmstat (diff) | |
download | linux-ba6c19fd113a3965f8cf4c183a813d528008d03e.tar.xz linux-ba6c19fd113a3965f8cf4c183a813d528008d03e.zip |
include/linux/memblock.h: Clean up code for several trivial details
Correct the function parameters alignment, since original code already
use both tabs and white spaces together for the incorrect parameters
alignment functions.
If one line can hold one statement within 80 columns, let it in one line
(original code did not consider about the tabs/spaces for 2nd line when
a statement is separated into 2 lines).
Try to let '' aligned within one macro, since all related lines are
short enough.
Remove useless statement "idx = 0;", and always assign rgn within the
'for' statement.
Link: http://lkml.kernel.org/r/1464904899-1714-1-git-send-email-chengang@emindsoft.com.cn
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/oom_kill.c')
0 files changed, 0 insertions, 0 deletions