diff options
author | Chengguang Xu <[email protected]> | 2018-06-12 19:48:52 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-08-02 14:27:35 +0200 |
commit | 765d28f136291f9639e3c031a1070fb76d6625c7 (patch) | |
tree | 0680d7f3c4cd2fba4ad2fc647b40a06bbbf0fbd9 /tools/perf/util/trace-event-scripting.c | |
parent | 063daa8129f94d651c4d30a8333b577c5bbf8090 (diff) |
x86/mm: Remove redundant check for kmem_cache_create()
The flag 'SLAB_PANIC' implies panic on failure, So there is no need to
check the returned pointer for NULL.
Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions