summaryrefslogtreecommitdiffstats
path: root/fs/ceph/cache.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-09-13 14:15:26 +0200
committerIlya Dryomov <idryomov@gmail.com>2015-11-02 23:36:47 +0100
commit13bf283408077931ace05449de92c68c1cb55120 (patch)
treef7bb252e25cb3da43f0f3cb611d0aba2d94b3de5 /fs/ceph/cache.c
parent6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff)
downloadlinux-13bf283408077931ace05449de92c68c1cb55120.tar.bz2
rbd: 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); x = NULL; -} // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/cache.c')
0 files changed, 0 insertions, 0 deletions