diff options
author | Geliang Tang <geliangtang@163.com> | 2016-03-15 14:52:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-15 16:55:16 -0700 |
commit | e6fd1fb3b5b58fcfa8e546c69d9cb64aa2c5c9b8 (patch) | |
tree | ddf29edade8a5691c395bcb7e8307a94be7e4e63 /kernel/locking | |
parent | e23604edac2a7be6a8808a5d13fac6b9df4eb9a8 (diff) | |
download | linux-e6fd1fb3b5b58fcfa8e546c69d9cb64aa2c5c9b8.tar.bz2 |
init/main.c: use list_for_each_entry()
Use list_for_each_entry() instead of list_for_each() to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions