Author: Julia Lawall <julia.lawall@lip6.fr> Remove unneeded NULL test. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; @@ -if (x != NULL) \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); // Signed-off-by: Julia Lawall Signed-off-by: Brian Norris — fs/jffs2/malloc.c | 27 +++++++++—————— 1 file changed, 9 insertions(+), 18 deletions(-) diff –git a/fs/jffs2/malloc.c b/fs/jffs2/malloc.c index b8fd651..ce11897 …