From: Julia Lawall Date: Sun, 13 Sep 2015 12:15:10 +0000 (+0200) Subject: md: drop null test before destroy functions X-Git-Tag: omap-for-v4.4/cleanup-pt1~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=644df1a85fc4b0c7a16800f55717261546f4e651;p=pandora-kernel.git md: 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: NeilBrown --- Reading git-diff-tree failed