aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-08-08 23:22:47 +0800
committerJens Axboe <axboe@kernel.dk>2018-08-08 10:04:42 -0600
commita12fc00b237c25519cc861b56dd4ca41bbec4ed3 (patch)
treef055d27b928e926b53f6f3228fa637550506c1f6 /tools/perf/scripts/python
parentdrivers/block/aoe/aoedev: NULL check is not needed for mempool_destroy (diff)
downloadlinux-dev-a12fc00b237c25519cc861b56dd4ca41bbec4ed3.tar.xz
linux-dev-a12fc00b237c25519cc861b56dd4ca41bbec4ed3.zip
drivers/block/drbd: remove the null check for kmem_cache_destroy
kmem_cache_destroy has taken null pointer into account. So it is safe to drop the null check before calling the function. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions