Julia Lawall 59e267c07b 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>
2015-05-08 09:23:56 +02:00
..
2015-04-30 16:13:13 +02:00
2015-04-30 16:57:32 +02:00
2015-04-13 17:37:33 -07:00
2015-03-23 21:36:48 +01:00