From: Markus Elfring Date: Tue, 2 Dec 2014 10:40:33 +0000 (+0100) Subject: lustre: Deletion of unnecessary checks before three function calls X-Git-Tag: omap-for-v3.20/drop-legacy-3517~70^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13cb076d3057e0c4b26acb0ee5e5d6ea9b5131c0;p=pandora-kernel.git lustre: Deletion of unnecessary checks before three function calls The functions free_ll_remote_perm(), free_rmtperm_hash() and iput() test whether their argument is NULL and then return immediately. Thus the test around their calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed