diff options
author | Sergey Senozhatsky <[email protected]> | 2015-09-08 15:04:55 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-09-08 15:35:28 -0700 |
commit | cd10add00c1b31cd664a31108a9b395025def50a (patch) | |
tree | 20da258501150fc2c06424884ca1a46a29f91ca8 /tools/perf/scripts/python/stackcollapse.py | |
parent | b3e237f1f5a86030c875e186ff19640f4f4f3c63 (diff) |
zsmalloc: remove null check from destroy_handle_cache()
We can pass a NULL cache pointer to kmem_cache_destroy(), because it
NULL-checks its argument now. Remove redundant test from
destroy_handle_cache().
Signed-off-by: Sergey Senozhatsky <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions