diff options
| author | Mateusz Nosek <[email protected]> | 2020-10-13 16:48:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-10-13 18:38:27 -0700 |
| commit | c1ff3f95497e64b67230bddc1242f2d228880859 (patch) | |
| tree | bfde251393ec870333c7001959d017f57e5794b6 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 97383c741b061ed2835802264c16784e42e20fe0 (diff) | |
mm/slab.c: clean code by removing redundant if condition
The removed code was unnecessary and changed nothing in the flow, since in
case of returning NULL by 'kmem_cache_alloc_node' returning 'freelist'
from the function in question is the same as returning NULL.
Signed-off-by: Mateusz Nosek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions