diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-08-28 02:31:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-28 04:16:06 +0300 |
commit | 62d2a1940709198a522a43ff8be8b8f6b3654dec (patch) | |
tree | db9237beb8b83d40069a2090b263211dc792945e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 46cb52ad414ac829680d0bb8cc7090ac2b577ca7 (diff) | |
download | linux-62d2a1940709198a522a43ff8be8b8f6b3654dec.tar.xz |
block: remove unnecessary condition check
kmem_cache_destroy() can handle NULL pointer correctly, so there is
no need to check e->icq_cache before calling kmem_cache_destroy().
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions