Re: [PATCH 28/39] ecryptfs: drop null test before destroy functions

2015-09-15 Thread Tyler Hicks
On 2015-09-15 06:36:30, Julia Lawall wrote: > > > On Mon, 14 Sep 2015, Tyler Hicks wrote: > > > On 2015-09-13 14:15:21, Julia Lawall wrote: > > > Remove unneeded NULL test. > > > > > > The semantic patch that makes this change is as follows: > > > (http://coccinelle.lip6.fr/) > > > > > > // >

Re: [PATCH 28/39] ecryptfs: drop null test before destroy functions

2015-09-14 Thread Julia Lawall
On Mon, 14 Sep 2015, Tyler Hicks wrote: > On 2015-09-13 14:15:21, Julia Lawall wrote: > > 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_dest

Re: [PATCH 28/39] ecryptfs: drop null test before destroy functions

2015-09-14 Thread Tyler Hicks
On 2015-09-13 14:15:21, Julia Lawall wrote: > 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-

[PATCH 28/39] ecryptfs: drop null test before destroy functions

2015-09-13 Thread Julia Lawall
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 --- fs/ecryptfs/main.c |3 +-- 1 file ch