commit | adad44d1322c6657a96fa1681ded9bb0c3bd56f0 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sun Sep 13 14:15:04 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 15 06:40:57 2015 -0700 |
tree | f9c6b335db20b6f90fb4abd383c70c8288ee8954 | |
parent | 70b49cd526c5b01679b5794272a160dad5c3205c [diff] |
hfi1: 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); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Mike Marciniszyn <infinipath@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>