aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-09-13 14:15:06 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-14 08:50:44 -0700
commitce85ed4d15b44f6a3216f0e0b3ce464aecd44c3c (patch)
treef15259c01907381f6965a6cde4fff8dde82ad25a /scripts/stackusage
parentstaging: lustre: fix TRAILING_STATEMENTS checkpatch errors (diff)
staging: lustre: drop null test before destroy functions
Remove unneeded NULL test. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x; @@ -if (x != NULL) \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); @@ expression x; @@ -if (x != NULL) { \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x); x = NULL; -} // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions