diff options
author | 2016-01-14 15:20:45 -0800 | |
---|---|---|
committer | 2016-01-14 16:00:49 -0800 | |
commit | a8ae49917077facbe4ed7b3a89bf025b1cefa0ed (patch) | |
tree | 9084e900d1594e8176297fef6dfffdd5e0513db8 /net | |
parent | mm/memblock: introduce for_each_memblock_type() (diff) | |
download | wireguard-linux-a8ae49917077facbe4ed7b3a89bf025b1cefa0ed.tar.xz wireguard-linux-a8ae49917077facbe4ed7b3a89bf025b1cefa0ed.zip |
mm/swapfile.c: use list_{next,first}_entry
To make the intention clearer, use list_{next,first}_entry instead of
list_entry().
Signed-off-by: Geliang Tang <geliangtang@163.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions