diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2015-09-13 14:15:16 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-10-03 20:36:10 +0200 |
commit | f9a113d65fa56d8e8e662e37ec2fbeac0d52aa01 (patch) | |
tree | c5a5c13f348993062ce04bfc968306dcc355de3d /fs/ubifs | |
parent | 86f6e454e6371003caecee3b4aa55de3e8eacbdd (diff) | |
download | op-kernel-dev-f9a113d65fa56d8e8e662e37ec2fbeac0d52aa01.zip op-kernel-dev-f9a113d65fa56d8e8e662e37ec2fbeac0d52aa01.tar.gz |
UBI: 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>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions