Tag: 58d29e3ce903dcafacee9e355225d64922325cf0

atm: he: 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: David S. Miller — drivers/atm/he.c | 7 ++—– 1 file changed, 2 insertions(+), 5 deletions(-)   diff –git a/drivers/atm/he.c b/drivers/atm/he.c index …

Continue reading