Author: Markus Elfring <elfring@users.sourceforge.net> 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 — drivers/staging/lustre/lustre/llite/remote_perm.c | 5 ++— drivers/staging/lustre/lustre/llite/statahead.c | 3 +– 2 files …