diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-20 23:00:34 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 01:09:18 (GMT) |
commit | 2b24692b9235cb82b6f735b7a4c4137211ddf005 (patch) | |
tree | b904318b6f7a2c04c44e43c694ee2e786ccba50c /kernel/kexec_file.c | |
parent | cdf4b3fa03bab157d2d70d4de65bb7ae319b084f (diff) | |
download | linux-2b24692b9235cb82b6f735b7a4c4137211ddf005.tar.xz |
kernel/kexec_core.c: use list_for_each_entry_safe in kimage_free_page_list
Use list_for_each_entry_safe() instead of list_for_each_safe() to
simplify the code.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kexec_file.c')
0 files changed, 0 insertions, 0 deletions