Commit c39341cf authored by Julia Lawall's avatar Julia Lawall Committed by Tyler Hicks

ecryptfs: drop null test before destroy functions

Remove unneeded NULL test.

The semantic patch that makes this change is as follows:

// <smpl>
@@ expression x; @@
-if (x != NULL)
// </smpl>
Signed-off-by: default avatarJulia Lawall <>
Signed-off-by: default avatarTyler Hicks <>
parent 33688abb
......@@ -738,8 +738,7 @@ static void ecryptfs_free_kmem_caches(void)
struct ecryptfs_cache_info *info;
info = &ecryptfs_cache_infos[i];
if (*(info->cache))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment