commit | e6fd1fb3b5b58fcfa8e546c69d9cb64aa2c5c9b8 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Tue Mar 15 14:52:46 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Mar 15 16:55:16 2016 -0700 |
tree | ddf29edade8a5691c395bcb7e8307a94be7e4e63 | |
parent | e23604edac2a7be6a8808a5d13fac6b9df4eb9a8 [diff] |
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>