summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-09-13 12:15:06 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-14 15:50:44 (GMT)
commitce85ed4d15b44f6a3216f0e0b3ce464aecd44c3c (patch)
treef15259c01907381f6965a6cde4fff8dde82ad25a /net/nfc
parent910b551c85ae599201428e6ac110a222d0da4c50 (diff)
downloadlinux-ce85ed4d15b44f6a3216f0e0b3ce464aecd44c3c.tar.xz
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 'net/nfc')
0 files changed, 0 insertions, 0 deletions