Tag: c39341cf0d08357f448f4c2fffe2ebcc9495fd01

ecryptfs: drop null test before destroy functions

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: Tyler Hicks — fs/ecryptfs/main.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index 1698132..6120044 …

Continue reading