diff options
| author | 2015-09-13 14:15:04 +0200 | |
|---|---|---|
| committer | 2015-09-15 06:40:57 -0700 | |
| commit | adad44d1322c6657a96fa1681ded9bb0c3bd56f0 (patch) | |
| tree | f9c6b335db20b6f90fb4abd383c70c8288ee8954 /scripts/stackusage | |
| parent | Staging: rlt8192u: Remove spaces at the start of lines (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>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
