From: Julia Lawall Date: Fri, 1 May 2015 19:37:57 +0000 (+0200) Subject: staging: lustre: lov: lov_dev: remove unneeded null test before free X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~933 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b8fbd6cdb1251d7f2bb3645124148365c5089a;p=pandora-kernel.git staging: lustre: lov: lov_dev: 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/) // @@ expression ptr; @@ - if (ptr != NULL) kfree(ptr); // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed