diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2015-09-13 14:14:54 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-21 17:04:50 -0700 |
commit | 0791a5f8ab5082d2726d99f3b21036d438c11424 (patch) | |
tree | dcc27179658e39891af622d09bb8fcab568ff6e6 /fs/jffs2/malloc.c | |
parent | 79c452adb159dc9abc507ea13faec8d115a78758 (diff) | |
download | linux-0791a5f8ab5082d2726d99f3b21036d438c11424.tar.bz2 |
mtd: nandsim: 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: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'fs/jffs2/malloc.c')
0 files changed, 0 insertions, 0 deletions