diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-15 00:17:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-15 01:00:49 +0100 |
commit | d8ad47d83f95abe2dfece1338633e376fec3bd31 (patch) | |
tree | 8c02c6f9c2f84b8ea819c02bb38afa10e4ae7362 /lib/locking-selftest-rlock.h | |
parent | include/linux/dcache.h: remove semicolons from HASH_LEN_DECLARE (diff) | |
download | linux-d8ad47d83f95abe2dfece1338633e376fec3bd31.tar.xz linux-d8ad47d83f95abe2dfece1338633e376fec3bd31.zip |
mm/slab.c use list_first_entry_or_null()
Simplify the code with list_first_entry_or_null().
Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions