diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2015-09-13 14:15:29 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-21 17:04:57 -0700 |
commit | e1305df1283cbe1aa57093f8766b2dfe650ed5ff (patch) | |
tree | 5f4bd6f55da07c90ea0049d04849a0f549c5984f /fs/sync.c | |
parent | 0791a5f8ab5082d2726d99f3b21036d438c11424 (diff) | |
download | linux-e1305df1283cbe1aa57093f8766b2dfe650ed5ff.tar.bz2 |
jffs2: 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/sync.c')
0 files changed, 0 insertions, 0 deletions