Julia Lawall 13bf283408 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>
2015-11-02 23:36:47 +01:00
..
2015-09-08 14:35:59 -07:00
2011-08-08 11:40:15 +02:00
2014-08-08 15:57:28 -07:00
2015-10-01 10:10:55 +02:00
2015-10-08 14:21:24 -06:00
2013-11-08 09:10:30 -07:00