commit | 59e267c07b887015d13ec65167b75b2441d04109 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Fri May 01 21:37:50 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 08 09:23:56 2015 +0200 |
tree | 698f0a856dd084b09ec9d343db79ade348b9af83 | |
parent | 627ef6ea9a0678b1ad74d01c6ff3f5fbefa41a42 [diff] |
Staging: lustre: osc: remove unneeded null test before free Kfree can cope with a null argument, so drop null tests. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression ptr; @@ - if (ptr != NULL) kfree(ptr); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>