From: Julia Lawall Date: Sun, 13 Sep 2015 12:15:18 +0000 (+0200) Subject: net: core: drop null test before destroy functions X-Git-Tag: omap-for-v4.3/fixes-rc5~84^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf78edac09f9640cd9676571586c4be46fb527c;p=pandora-kernel.git net: core: drop null test before destroy functions 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); x = NULL; -} // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed