From: Julia Lawall Date: Sun, 13 Sep 2015 12:15:07 +0000 (+0200) Subject: SUNRPC: drop null test before destroy functions X-Git-Tag: omap-for-v4.3/fixes-rc5~87^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a9618e984234fda167ea5e07eae6f4f2ea2186;p=pandora-kernel.git SUNRPC: 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); // Signed-off-by: Julia Lawall Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed