diff options
author | 2015-09-13 14:15:19 +0200 | |
---|---|---|
committer | 2015-09-21 22:40:07 +0530 | |
commit | 240eb916076c8deb206c7e66d1ee9eb37d6a499a (patch) | |
tree | c5fd17d5c974e202c69b1291d0c538b6099228b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: xgene-dma: use dma_pool_zalloc (diff) | |
download | linux-dev-240eb916076c8deb206c7e66d1ee9eb37d6a499a.tar.xz linux-dev-240eb916076c8deb206c7e66d1ee9eb37d6a499a.zip |
dmaengine: drop null test before destroy functions
Remove unneeded NULL test.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@ expression x; @@
-if (x != NULL)
\(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions