Tag: 13cb076d3057e0c4b26acb0ee5e5d6ea9b5131c0

lustre: Deletion of unnecessary checks before three function calls

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 …

Continue reading