Re: [PATCH 09/39] aoe: drop null test before destroy functions

2015-09-14 Thread Ed Cashin
ACK. Thanks. On 09/13/2015 08:15 AM, 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-off-by

[PATCH 09/39] aoe: 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 --- drivers/block/aoe/aoedev.c |3 +-- 1